Skip to content

Instantly share code, notes, and snippets.

@olafleur
Created May 10, 2016 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olafleur/0a541324ead4974c812dcd3115f9a74d to your computer and use it in GitHub Desktop.
Save olafleur/0a541324ead4974c812dcd3115f9a74d to your computer and use it in GitHub Desktop.
public static void checkEqual(int expected, int result) {
if(expected == result) {
success();
} else {
fail(Expected " + expected + " / Obtained " + result);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment