Exemple #1
0
 @Test
 public void testFizzBuzz() throws Exception {
   assertEquals("FizzBuzz !", fb.answer(15));
 }
Exemple #2
0
 @Test
 public void testNotFizzNorBuzz() throws Exception {
   assertEquals("7 !", fb.answer(7));
 }
Exemple #3
0
 @Test
 public void testBuzz() throws Exception {
   assertEquals("Buzz !", fb.answer(5));
 }