Skip to content

Instantly share code, notes, and snippets.

@up1
Last active August 29, 2015 14:07
Show Gist options
  • Save up1/c47e29229bda83557811 to your computer and use it in GitHub Desktop.
Save up1/c47e29229bda83557811 to your computer and use it in GitHub Desktop.
DEmo :: clean test
public class FizzBuzzTest {
FizzBuzz fizzBuzz = new FizzBuzz();
@Test
public void countOneSayOne() {
String said = fizzBuzz.say(1);
assertEquals("1", said);
}
@Test
public void countTwoSayTwo() {
String said = fizzBuzz.say(2);
assertEquals("2", said);
}
}
public class UserTest {
@Before
public void initData() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment