cutRectangle
should be a function.
testString: assert(typeof cutRectangle == 'function');
- text: cutRectangle(2, 2)
should return a number.
testString: assert(typeof cutRectangle(2, 2) == 'number');
- text: cutRectangle(2, 2)
should return 2
.
testString: assert.equal(cutRectangle(2, 2), 2);
- text: cutRectangle(4, 3)
should return 9
.
testString: assert.equal(cutRectangle(4, 3), 9);
- text: cutRectangle(4, 4)
should return 22
.
testString: assert.equal(cutRectangle(4, 4), 22);
- text: cutRectangle(8, 3)
should return 53
.
testString: assert.equal(cutRectangle(8, 3), 53);
- text: cutRectangle(7, 4)
should return 151
.
testString: assert.equal(cutRectangle(7, 4), 151);
```