3333import net .imglib2 .type .numeric .integer .IntType ;
3434import net .imglib2 .type .numeric .real .DoubleType ;
3535import org .junit .jupiter .api .Test ;
36- import org .scijava .ops .engine .math .MathOps ;
3736
3837import static org .junit .jupiter .api .Assertions .assertEquals ;
3938
@@ -55,7 +54,7 @@ public class BinaryRealTypeMathTest extends AbstractOpTest {
5554 public void testAdd () {
5655 DoubleType e = A .copy ();
5756 e .set (e .get () + B .get ());
58- test (MathOps . ADD , e .get ());
57+ test ("math.add" , e .get ());
5958 }
6059
6160 // SUB
@@ -64,7 +63,7 @@ public void testAdd() {
6463 public void testSub () {
6564 DoubleType e = A .copy ();
6665 e .set (e .get () - B .get ());
67- test (MathOps . SUB , e .get ());
66+ test ("math.sub" , e .get ());
6867 }
6968
7069 // DIV
@@ -73,7 +72,7 @@ public void testSub() {
7372 public void testDiv () {
7473 DoubleType e = A .copy ();
7574 e .set (e .get () / B .get ());
76- test (MathOps . DIV , e .get ());
75+ test ("math.div" , e .get ());
7776 }
7877
7978 // MUL
@@ -82,7 +81,7 @@ public void testDiv() {
8281 public void testMul () {
8382 DoubleType e = A .copy ();
8483 e .set (e .get () * B .get ());
85- test (MathOps . MUL , e .get ());
84+ test ("math.mul" , e .get ());
8685 }
8786
8887 // POW
@@ -91,14 +90,14 @@ public void testMul() {
9190 public void testPow () {
9291 DoubleType e = A .copy ();
9392 e .set (Math .pow (e .get (), B .get ()));
94- test (MathOps . POW , e .get ());
93+ test ("math.pow" , e .get ());
9594 }
9695
9796 // MOD
9897
9998 @ Test
10099 public void testMod () {
101- test (MathOps . MOD , A .get () % B .get ());
100+ test ("math.mod" , A .get () % B .get ());
102101 }
103102
104103 // OR
0 commit comments