< prev index next >

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

Print this page


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

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