< prev index next >

test/jdk/jdk/incubator/vector/templates/Unit-Shift-op.template

Print this page


 1     static $type$ [[TEST]]_unary($type$ a, $type$ b) {
 2         return ($type$)([[TEST_OP]]);
 3     }
 4 
 5     @Test(dataProvider = "$type$BinaryOpProvider")
 6     static void [[TEST]]$vectorteststype$ScalarShift(IntFunction<$type$[]> fa, IntFunction<$type$[]> fb) {
 7 [[KERNEL]]
 8         assertShiftArraysEquals(r, a, b, $vectorteststype$::[[TEST]]_unary);
 9     }

 1 
 2     static $type$ [[TEST]]_unary($type$ a, $type$ b) {
 3         return ($type$)([[TEST_OP]]);
 4     }
 5 
 6     @Test(dataProvider = "$type$BinaryOpProvider")
 7     static void [[TEST]]$vectorteststype$ScalarShift(IntFunction<$type$[]> fa, IntFunction<$type$[]> fb) {
 8 [[KERNEL]]
 9         assertShiftArraysEquals(r, a, b, $vectorteststype$::[[TEST]]_unary);
10     }
< prev index next >