Skip to content

Commit 586f2e8

Browse files
better coverage
1 parent d47205c commit 586f2e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/src/ZZ/from.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import { ZZ , ValueError , TypeError } from '../../../src' ;
44

55
test( 'ZZ.from()' , t => {
66

7+
t.is( ZZ.from(null).toString() , '0' ) ;
8+
t.is( ZZ.from(undefined).toString() , '0' ) ;
9+
710
t.is( ZZ.from('zz', 36).toString(36) , 'zz' ) ;
811
//t.is( ZZ.from('0x3b').toString(16) , '3b' ) ;
912
t.is( ZZ.from(ZZ.from(5).digits(3), 3).toString() , '5' ) ;

0 commit comments

Comments
 (0)