Skip to content

Instantly share code, notes, and snippets.

@benjamine
Created February 11, 2011 13:25
Show Gist options
  • Save benjamine/822331 to your computer and use it in GitHub Desktop.
Save benjamine/822331 to your computer and use it in GitHub Desktop.
JavaScript Koan (liammclennans) step 1
// 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