1 
 2     @Test(dataProvider = "$type$TernaryOpMaskProvider")
 3     static void [[TEST]]$vectorteststype$BroadcastMaskedSmokeTest(IntFunction<$type$[]> fa, IntFunction<$type$[]> fb,
 4                                           IntFunction<$type$[]> fc, IntFunction<boolean[]> fm) {
 5         $type$[] a = fa.apply(SPECIES.length());
 6         $type$[] b = fb.apply(SPECIES.length());
 7         $type$[] c = fc.apply(SPECIES.length());
 8         $type$[] r = fr.apply(SPECIES.length());
 9         boolean[] mask = fm.apply(SPECIES.length());
10         VectorMask<$Wideboxtype$> vmask = VectorMask.fromArray(SPECIES, mask, 0);
11 
12         for (int i = 0; i < a.length; i += SPECIES.length()) {
13             $abstractvectortype$ av = $abstractvectortype$.fromArray(SPECIES, a, i);
14             $abstractvectortype$ bv = $abstractvectortype$.fromArray(SPECIES, b, i);
15             av.lanewise(VectorOperators.[[TEST]], bv, c[i], vmask).intoArray(r, i);
16         }
17 
18         assertBroadcastArraysEquals(r, a, b, c, mask, $vectorteststype$::[[TEST]]);
19     }
20 
21     @Test(dataProvider = "$type$TernaryOpMaskProvider")
22     static void [[TEST]]$vectorteststype$AltBroadcastMaskedSmokeTest(IntFunction<$type$[]> fa, IntFunction<$type$[]> fb,
23                                           IntFunction<$type$[]> fc, IntFunction<boolean[]> fm) {
24         $type$[] a = fa.apply(SPECIES.length());
25         $type$[] b = fb.apply(SPECIES.length());
26         $type$[] c = fc.apply(SPECIES.length());
27         $type$[] r = fr.apply(SPECIES.length());
28         boolean[] mask = fm.apply(SPECIES.length());
29         VectorMask<$Wideboxtype$> vmask = VectorMask.fromArray(SPECIES, mask, 0);
30 
31         for (int i = 0; i < a.length; i += SPECIES.length()) {
32             $abstractvectortype$ av = $abstractvectortype$.fromArray(SPECIES, a, i);
33             $abstractvectortype$ cv = $abstractvectortype$.fromArray(SPECIES, c, i);
34             av.lanewise(VectorOperators.[[TEST]], b[i], cv, vmask).intoArray(r, i);
35         }
36 
37         assertAltBroadcastArraysEquals(r, a, b, c, mask, $vectorteststype$::[[TEST]]);
38     }