luhnTest should be a function.
testString: assert(typeof luhnTest === 'function');
- text: luhnTest("4111111111111111") should return a boolean.
testString: assert(typeof luhnTest("4111111111111111") === 'boolean');
- text: luhnTest("4111111111111111") should return true.
testString: assert.equal(luhnTest("4111111111111111"), true);
- text: luhnTest("4111111111111112") should return false.
testString: assert.equal(luhnTest("4111111111111112"), false);
- text: luhnTest("49927398716") should return true.
testString: assert.equal(luhnTest("49927398716"), true);
- text: luhnTest("49927398717") should return false.
testString: assert.equal(luhnTest("49927398717"), false);
- text: luhnTest("1234567812345678") should return false.
testString: assert.equal(luhnTest("1234567812345678"), false);
- text: luhnTest("1234567812345670") should return true.
testString: assert.equal(luhnTest("1234567812345670"), true);
```