Permalink
Browse files

add more range numification tests

  • Loading branch information...
1 parent db2d159 commit 3e1d8bb099ebb5045d68ca6433373ead20230318 @coke coke committed Mar 29, 2013
Showing with 8 additions and 1 deletion.
  1. +8 −1 S02-types/range.t
View
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 124;
+plan 131;
# basic Range
# L<S02/Immutable types/A pair of Ordered endpoints>
@@ -91,6 +91,13 @@ is(+(6..6), 1, 'numification');
is(+(6^..6), 0, 'numification');
is(+(6..^6), 0, 'numification');
is(+(6..8), 3, 'numification');
+is(+(1^..10), 9, 'numification');
+is(+(1..^10), 9, 'numification');
+is(+(1^..^10), 8, 'numification');
+is(+(10..9), 0, 'numification');
+is(+(1.2..4), 3, 'numification');
+is(+(1..^3.3), 3, 'numification');
+is(+Range, 0, 'type numification');
# immutability
#?pugs todo

0 comments on commit 3e1d8bb

Please sign in to comment.