Edit in JSFiddle

// JavaScriptは同値演算子が2種類
// ==は型変換して同値判定する Equal
// ===は型変換しないで同値判定する Strict Equal


module("QUnit Api equal test",{
    setup: function() { // 初期化処理
        this.str = "10";
        this.num = 10;
        this.arr1 = [];
        this.arr2 = [];
        this.arr1[0] = 'a';
        this.arr2[0] = 'a';
        this.o1 = {'x': 'a'};
        this.o2 = {'x': 'a'};
        
    },
    teardown: function() { // 終了処理
        
    }
});

// ==の型変換のルール
// 数字と文字列の場合は文字列を数値に変換して同値判定
test("test primitive string number as equal ==", function() {
    equal(this.str, this.num, 'equal is ==. string "10" equal number 10.');
});
test("test primitive string, number as strict equal ===", function() {
    notStrictEqual(this.str, this.num, 'deepEqual is ===. string "10" isn\'t strict equal number 10.');
});
// 配列は==, ===ともにオブジェクト参照が等しい場合のみtrue
// 要素が同じでもfalse
test("equal array test", function() {
    notEqual(this.arr1, this.arr2, 'same element array but not equal');
});
// deepEqualは要素が同じならtrue
test("deep equal array test", function() {
    deepEqual(this.o1, this.o2, 'same element arr deepEqual');
});
// オブジェクト
test("equal object test", function() {
    notEqual(this.o1, this.o2, 'same element object but not equal');
});
// deepEqualは要素が同じならtrue
test("deep equal object test", function() {
    deepEqual(this.o1, this.o2, 'same element object deepEqual');
});

<h1 id="qunit-header">QUnit example</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">test markup, will be hidden</div>

              

External resources loaded into this fiddle: