Skip to content

Instantly share code, notes, and snippets.

@adambard
Created May 30, 2012 16:42
Show Gist options
  • Save adambard/2837521 to your computer and use it in GitHub Desktop.
Save adambard/2837521 to your computer and use it in GitHub Desktop.
Here's your try.
try {
assert(evaluate() == true);
return true;
} catch (AssertionError e){
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment