Created
February 23, 2016 02:29
-
-
Save up1/135c238e25c52735634d to your computer and use it in GitHub Desktop.
Test case
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
| public class MyOperationTest { | |
| @Test public void | |
| first_scenario() { | |
| //Init | |
| result = operation(a, b, c); | |
| CHECK(result == true) | |
| } | |
| @Test public void | |
| second_scenario() { | |
| //Init | |
| result = operation(a, b, c); | |
| CHECK(result == false) | |
| } | |
| @Test public void | |
| third_scenario() { | |
| //Init | |
| result = operation(a, b, c); | |
| CHECK(result == true) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment