Permalink
Browse files

!= and complex numbers

  • Loading branch information...
1 parent 4cfafd6 commit 57f0c4883fc2d7710d876d59c3d3276d5957a018 @moritz moritz committed Mar 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 S32-num/complex.t
View
@@ -2,14 +2,15 @@ use v6;
use Test;
-plan 487;
+plan 488;
# Basic tests functions specific to complex numbers.
isa_ok(1 + 2i, Complex, 'postfix:<i> creates a Complex number');
#?pugs 2 skip 'i'
isa_ok(i, Complex, 'i creates a Complex number');
ok i == 1i, 'i == 1i';
+ok 1 != 1i, '!= and complex numbers';
isa_ok((3)i, Complex, '($n)i form creates a Complex number');
#?pugs skip 'parsefail'

0 comments on commit 57f0c48

Please sign in to comment.