
module("About Equality (topics/about_equality.js)");

test("numeric equality", function() {
    equal(3 + __,  7, "");
});

test("string equality", function() {
    equal("3" + __, "37", "concatenate the strings");
});

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() {
    equal(__, "frankenstein", "quote types are interchangable, but must match.");
    equal(__, 'frankenstein', "quote types can use both single and double quotes.");
});

@@ -100,18 +100,17 @@
 ual(3 + 
-__
+4
 ,  7, %22%22
@@ -170,18 +170,19 @@
 l(%223%22 + 
-__
+%227%22
 , %2237%22, 
@@ -279,18 +279,17 @@
 k(3 === 
-__
+3
 , 'what 
@@ -381,18 +381,17 @@
 k(3 == %22
-__
+3
 %22, 'what
@@ -488,18 +488,30 @@
   equal(
-__
+'frankenstein'
 , %22frank
@@ -586,10 +586,22 @@
 ual(
-__
+%22frankenstein%22
 , 'f

Complete about_equality