[codegen] Test and document codegen for SplitAt and Split
#3111
+980
−5
SplitAt and Split
#3111