File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import static org .fest .assertions .api .Assertions .assertThat ;
44
55public class FizzBuzzCheckerTest {
6+ @ Test
67 public void test_isFizz_should_return_false () {
78 assertThat (FizzBuzzChecker .isFizz (1 )).isFalse ();
89 assertThat (FizzBuzzChecker .isFizz (5 )).isFalse ();
910 }
1011
12+ @ Test
1113 public void test_isFizz_should_return_true () {
1214 assertThat (FizzBuzzChecker .isFizz (3 )).isTrue ();
1315 assertThat (FizzBuzzChecker .isFizz (9 )).isTrue ();
1416 }
1517
18+ @ Test
1619 public void test_isBuzz_should_return_false () {
1720 assertThat (FizzBuzzChecker .isBuzz (2 )).isFalse ();
1821 assertThat (FizzBuzzChecker .isBuzz (3 )).isFalse ();
1922 }
2023
24+ @ Test
2125 public void test_isBuzz_should_return_true () {
2226 assertThat (FizzBuzzChecker .isBuzz (5 )).isTrue ();
2327 assertThat (FizzBuzzChecker .isBuzz (10 )).isTrue ();
You can’t perform that action at this time.
0 commit comments