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