Skip to content

Commit 77a0536

Browse files
Integer#cmp improve coverage
1 parent c694f62 commit 77a0536

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/src/Integer/compare.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import test from 'ava' ;
2+
3+
import { ZZ } from '../../../src' ;
4+
5+
test( 'compare' , t => {
6+
7+
t.is( ZZ.from(-1).cmp(ZZ.from(1)) , -1 ) ;
8+
9+
} ) ;

0 commit comments

Comments
 (0)