Last active
August 29, 2015 14:07
-
-
Save up1/c47e29229bda83557811 to your computer and use it in GitHub Desktop.
DEmo :: clean test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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