ok
This commit is contained in:
parent
f1b7de040a
commit
2b874a73be
59 changed files with 1227 additions and 1232 deletions
|
@ -0,0 +1,13 @@
|
|||
describe("multiplyNumeric", function() {
|
||||
it("multiplies all numeric properties by 2", function() {
|
||||
var menu = {
|
||||
width: 200,
|
||||
height: 300,
|
||||
title: "My menu"
|
||||
};
|
||||
multiplyNumeric(menu);
|
||||
assert.equal(menu.width, 400);
|
||||
assert.equal(menu.height, 600);
|
||||
assert.equal(menu.title, "My menu");
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue