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