11 lines
206 B
JavaScript
11 lines
206 B
JavaScript
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);
|
|
});
|
|
|
|
});
|