Skip to content

Commit 57f0c48

Browse files
committed
!= and complex numbers
1 parent 4cfafd6 commit 57f0c48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

S32-num/complex.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ use v6;
22

33
use Test;
44

5-
plan 487;
5+
plan 488;
66

77
# Basic tests functions specific to complex numbers.
88

99
isa_ok(1 + 2i, Complex, 'postfix:<i> creates a Complex number');
1010
#?pugs 2 skip 'i'
1111
isa_ok(i, Complex, 'i creates a Complex number');
1212
ok i == 1i, 'i == 1i';
13+
ok 1 != 1i, '!= and complex numbers';
1314

1415
isa_ok((3)i, Complex, '($n)i form creates a Complex number');
1516
#?pugs skip 'parsefail'

0 commit comments

Comments
 (0)