Created
June 4, 2014 02:18
-
-
Save fogus/940739cb340f4d09bb91 to your computer and use it in GitHub Desktop.
This file contains 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
fn(test | |
"A simple test function that takes two expressions and uses a function to test them" | |
[Expr1 Expr2 F Desc] | |
if(not(F(Expr1 Expr2)) | |
out("Test of " Desc " failed!" crlf) | |
out(" " Expr1 " " F " " Expr2 crlf) | |
false | |
else | |
true)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment