Permalink
Browse files

cont.

  • Loading branch information...
1 parent 5a763bb commit a9cbecbdffcf487089180bc63b81fe9881811b95 @liammclennan liammclennan committed Jul 22, 2011
Showing with 15 additions and 20 deletions.
  1. +15 −20 topics/about_equality.js
@@ -1,27 +1,22 @@
-$(document).ready(function(){
+module("About Equality (topics/about_equality.js)");
- module("About Equality (topics/about_equality.js)");
-
- test("numeric equality", function() {
- equals(3 + __, 7, 'hmmmm?');
- });
-
- test("string equality", function() {
- equals("3" + __, "37", "concatenate the strings");
- });
-
- test("equality without type coercion", function() {
- ok(3 === __, 'what is exactly equal to 3?');
- });
+test("numeric equality", function() {
+ equals(3 + __, 7, 'hmmmm?');
+});
- test("equality with type coercion", function() {
- ok(3 == "__", 'what string is equal to 3, with type coercion?');
- });
+test("string equality", function() {
+ equals("3" + __, "37", "concatenate the strings");
+});
- test("string literals", function() {
- equals("frankenstein", '__', "quote types are interchangable, but must match.");
- });
+test("equality without type coercion", function() {
+ ok(3 === __, 'what is exactly equal to 3?');
+});
+test("equality with type coercion", function() {
+ ok(3 == "__", 'what string is equal to 3, with type coercion?');
});
+test("string literals", function() {
+ equals("frankenstein", '__', "quote types are interchangable, but must match.");
+});

0 comments on commit a9cbecb

Please sign in to comment.