1 
 2     static $type$[] [[TEST]]($type$[] a, $type$[] b, int origin, int idx) {
 3         $type$[] res = new $type$[SPECIES.length()];
 4         for (int i = 0, j = 0; i < SPECIES.length(); i++){
 5             if(i+origin < SPECIES.length())
 6                 res[i] = a[idx+i+origin];
 7             else {
 8                 res[i] = b[idx+j];
 9                 j++;
10             }
11         }
12         return res;
13     }
14 
15     @Test(dataProvider = "$type$BinaryOpProvider")
16     static void [[TEST]]$vectorteststype$Binary(IntFunction<$type$[]> fa, IntFunction<$type$[]> fb) {
17 [[KERNEL]]
18         assertArraysEquals(r, a, b, origin, $vectorteststype$::[[TEST]]);
19     }