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