Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

cont.

  • Loading branch information...
commit a9cbecbdffcf487089180bc63b81fe9881811b95 1 parent 5a763bb
Liam McLennan liammclennan authored

Showing 1 changed file with 15 additions and 20 deletions. Show diff stats Hide diff stats

  1. +15 20 topics/about_equality.js
35 topics/about_equality.js
... ... @@ -1,27 +1,22 @@
1 1
2   -$(document).ready(function(){
  2 +module("About Equality (topics/about_equality.js)");
3 3
4   - module("About Equality (topics/about_equality.js)");
5   -
6   - test("numeric equality", function() {
7   - equals(3 + __, 7, 'hmmmm?');
8   - });
9   -
10   - test("string equality", function() {
11   - equals("3" + __, "37", "concatenate the strings");
12   - });
13   -
14   - test("equality without type coercion", function() {
15   - ok(3 === __, 'what is exactly equal to 3?');
16   - });
  4 +test("numeric equality", function() {
  5 + equals(3 + __, 7, 'hmmmm?');
  6 +});
17 7
18   - test("equality with type coercion", function() {
19   - ok(3 == "__", 'what string is equal to 3, with type coercion?');
20   - });
  8 +test("string equality", function() {
  9 + equals("3" + __, "37", "concatenate the strings");
  10 +});
21 11
22   - test("string literals", function() {
23   - equals("frankenstein", '__', "quote types are interchangable, but must match.");
24   - });
  12 +test("equality without type coercion", function() {
  13 + ok(3 === __, 'what is exactly equal to 3?');
  14 +});
25 15
  16 +test("equality with type coercion", function() {
  17 + ok(3 == "__", 'what string is equal to 3, with type coercion?');
26 18 });
27 19
  20 +test("string literals", function() {
  21 + equals("frankenstein", '__', "quote types are interchangable, but must match.");
  22 +});

0 comments on commit a9cbecb

Please sign in to comment.
Something went wrong with that request. Please try again.