beautify_js
This commit is contained in:
parent
0febe4f5fd
commit
5c2f32e184
208 changed files with 3891 additions and 1474 deletions
|
@ -11,5 +11,4 @@ var calculator = {
|
|||
this.a = +prompt('a?', 0);
|
||||
this.b = +prompt('b?', 0);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue