Created
June 2, 2019 18:59
-
-
Save dnno/ebdf7e23d755a27895bc73527625abfc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| @RunWith(JUnitParamsRunner.class) | |
| public class PersonTest { | |
| @Test | |
| @Parameters({"0, 0", "1, 1", "2, 1", "3, 2" }) | |
| public void personIsAdult(int input, int expected) { | |
| assertEquals(expected, Fibonacci.compute(input)); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment