We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 976942c commit ed3d631Copy full SHA for ed3d631
test/src/Integer/toString.js
@@ -11,6 +11,7 @@ test( 'ZZ.from(3).pow(50).bin()' , t => {
11
} ) ;
12
test( 'ZZ.from(3).pow(50).oct()' , t => { t.is(ZZ.from(3).pow(50).oct() , '230012517606662772047361711' ) ; } ) ;
13
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' ) ; } ) ;
15
16
test( 'toString is pure' , t => {
17
const x = ZZ.from(10000) ;
0 commit comments