Skip to content

Instantly share code, notes, and snippets.

@up1
Created February 23, 2016 02:29
Show Gist options
  • Select an option

  • Save up1/135c238e25c52735634d to your computer and use it in GitHub Desktop.

Select an option

Save up1/135c238e25c52735634d to your computer and use it in GitHub Desktop.
Test case
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