up
This commit is contained in:
parent
4ae129054e
commit
ab9ab64bd5
476 changed files with 3370 additions and 532 deletions
11
1-js/03-code-quality/05-testing-mocha/pow-2.view/test.js
Normal file
11
1-js/03-code-quality/05-testing-mocha/pow-2.view/test.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
describe("pow", function() {
|
||||
|
||||
it("2 raised to power 3 is 8", function() {
|
||||
assert.equal(pow(2, 3), 8);
|
||||
});
|
||||
|
||||
it("3 raised to power 3 is 27", function() {
|
||||
assert.equal(pow(3, 3), 27);
|
||||
});
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue