1 static $type$ [[TEST]]($type$ a) {
2 return ($type$)([[TEST_OP]]);
3 }
4
5 static $type$ strict[[TEST]]($type$ a) {
6 return ($type$)(Strict[[TEST_OP]]);
7 }
8
9 @Test(dataProvider = "$type$UnaryOpProvider")
10 static void [[TEST]]$vectorteststype$(IntFunction<$type$[]> fa) {
11 [[KERNEL]]
12 assertArraysEqualsWithinOneUlp(r, a, $vectorteststype$::[[TEST]], $vectorteststype$::strict[[TEST]]);
13 }
|
1
2 static $type$ [[TEST]]($type$ a) {
3 return ($type$)([[TEST_OP]]);
4 }
5
6 static $type$ strict[[TEST]]($type$ a) {
7 return ($type$)(Strict[[TEST_OP]]);
8 }
9
10 @Test(dataProvider = "$type$UnaryOpProvider")
11 static void [[TEST]]$vectorteststype$(IntFunction<$type$[]> fa) {
12 [[KERNEL]]
13 assertArraysEqualsWithinOneUlp(r, a, $vectorteststype$::[[TEST]], $vectorteststype$::strict[[TEST]]);
14 }
|