Skip to content

Commit ed3d631

Browse files
🔍 test: Cover Integer.toJSON.
1 parent 976942c commit ed3d631

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/src/Integer/toString.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ test( 'ZZ.from(3).pow(50).bin()' , t => {
1111
} ) ;
1212
test( 'ZZ.from(3).pow(50).oct()' , t => { t.is(ZZ.from(3).pow(50).oct() , '230012517606662772047361711' ) ; } ) ;
1313
test( 'ZZ.from(3).pow(50).hex()' , t => { t.is(ZZ.from(3).pow(50).hex() , '980553f0db2fd09de3c9' ) ; } ) ;
14+
test( 'ZZ.from(3).pow(50).toJSON()' , t => { t.is(ZZ.from(3).pow(50).toJSON() , '980553f0db2fd09de3c9' ) ; } ) ;
1415

1516
test( 'toString is pure' , t => {
1617
const x = ZZ.from(10000) ;

0 commit comments

Comments
 (0)