expose BN.fromString problem
This commit is contained in:
parent
5ee1c3f6aa
commit
e2542866d1
|
@ -79,6 +79,10 @@ describe('BN', function() {
|
|||
it('should make BN from a string', function() {
|
||||
BN.fromString('5').toString().should.equal('5');
|
||||
});
|
||||
it('should work with 7fffff0000000000000000000000000000000000000000000000000000000000', function() {
|
||||
BN.fromString('7fffff0000000000000000000000000000000000000000000000000000000000')
|
||||
.toString().should.equal('7fffff0000000000000000000000000000000000000000000000000000000000');
|
||||
});
|
||||
});
|
||||
|
||||
describe('#toString', function() {
|
||||
|
|
Loading…
Reference in New Issue