Example #1
0
 @Test(timeout = 500)
 //    @Timed(millis = 500)
 @Repeat(3)
 public void testMultiply() {
   assert (calculator.multiply(2, 3) == 6);
 }
Example #2
0
 @Test
 public void testAdd() {
   assert (calculator.add(1, 2) == 3);
 }