beautify_js

This commit is contained in:
Ilya Kantor 2015-03-09 18:48:58 +03:00
parent 0febe4f5fd
commit 5c2f32e184
208 changed files with 3891 additions and 1474 deletions

View file

@ -11,5 +11,4 @@ var calculator = {
this.a = +prompt('a?', 0);
this.b = +prompt('b?', 0);
}
}
}

View file

@ -9,11 +9,11 @@ describe("calculator", function() {
});
it("при вводе 2 и 3 сумма равна 5", function() {
assert.equal( calculator.sum(), 5 );
assert.equal(calculator.sum(), 5);
});
it("при вводе 2 и 3 произведение равно 6", function() {
assert.equal( calculator.mul(), 6 );
assert.equal(calculator.mul(), 6);
});
});