Exemple #1
0
 @Test
 public void testSubtract() {
   double value1 = 5;
   double value2 = 10;
   double result = value1 - value2;
   Calculator c = new Calculator();
   System.out.println("-> TESTING Subtract...");
   Assert.assertTrue(c.subtract(value1, value2) == result);
 }