isCusip
should be a function.
testString: assert(typeof isCusip == 'function', 'isCusip
should be a function.');
- text: isCusip("037833100")
should return a boolean.
testString: assert(typeof isCusip("037833100") == 'boolean', 'isCusip("037833100")
should return a boolean.');
- text: isCusip("037833100")
should return true
.
testString: assert.equal(isCusip("037833100"), true, 'isCusip("037833100")
should return true
.');
- text: isCusip("17275R102")
should return true
.
testString: assert.equal(isCusip("17275R102"), true, 'isCusip("17275R102")
should return true
.');
- text: isCusip("38259P50a")
should return false
.
testString: assert.equal(isCusip("38259P50a"), false, 'isCusip("38259P50a")
should return false
.');
- text: isCusip("38259P508")
should return true
.
testString: assert.equal(isCusip("38259P508"), true, 'isCusip("38259P508")
should return true
.');
- text: isCusip("38259P50#")
should return false
.
testString: assert.equal(isCusip("38259P50#"), false, 'isCusip("38259P50#")
should return false
.');
- text: isCusip("68389X105")
should return true
.
testString: assert.equal(isCusip("68389X105"), true, 'isCusip("68389X105")
should return true
.');
- text: isCusip("68389X106")
should return false
.
testString: assert.equal(isCusip("68389X106"), false, 'isCusip("68389X106")
should return false
.');
- text: isCusip("5949181")
should return false
.
testString: assert.equal(isCusip("5949181"), false, 'isCusip("5949181")
should return false
.');
```