Created
February 11, 2011 13:25
-
-
Save benjamine/822331 to your computer and use it in GitHub Desktop.
JavaScript Koan (liammclennans) step 1
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
// part of https://github.com/liammclennan/JavaScript-Koans | |
$(document).ready(function () { | |
module("About Asserts (topics/about_asserts.js)"); | |
test("ok", function () { | |
ok(true, 'what will satisfy the ok assertion?'); | |
}); | |
test("not", function () { | |
not(false, 'what is a false value?'); | |
}); | |
test("equals", function () { | |
equals(1 + 1, 2, 'what will satisfy the equals assertion?'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment