exponentialGenerator
should be a function.
testString: assert(typeof exponentialGenerator=='function');
- text: exponentialGenerator()
should return a number.
testString: assert(typeof exponentialGenerator(10)=='number');
- text: exponentialGenerator(10)
should return 144
.
testString: assert.equal(exponentialGenerator(10),144);
- text: exponentialGenerator(12)
should return 196
.
testString: assert.equal(exponentialGenerator(12),196);
- text: exponentialGenerator(14)
should return 256
.
testString: assert.equal(exponentialGenerator(14),256);
- text: exponentialGenerator(20)
should return 484
.
testString: assert.equal(exponentialGenerator(20),484);
- text: exponentialGenerator(25)
should return 784
.
testString: assert.equal(exponentialGenerator(25),784);
```