Permalink
Browse files

unfudge parrot negative div and mod tests

  • Loading branch information...
1 parent 951c516 commit 812ff94a162cf61e4d3cd234eb60a3c986b01128 @timo timo committed Jan 12, 2014
Showing with 0 additions and 2 deletions.
  1. +0 −2 S03-operators/arith.t
View
2 S03-operators/arith.t
@@ -170,15 +170,13 @@ tryeq -28 div -2, 14;
#?pugs 4 skip 'div'
is(9 div 4, 2, "9 div 4 == 2");
-#?rakudo.parrot 2 todo 'negative div'
is(-9 div 4, -3, "-9 div 4 == -3");
is(9 div -4, -3, "9 div -4 == -3");
is(-9 div -4, 2, "-9 div -4 == 2");
# modulo
#?pugs 5 skip 'mod'
is 13 mod 4, 1, '13 mod 4';
-#?rakudo.parrot 2 todo 'negative mod'
is -13 mod 4, 3, '-13 mod 4';
is 13 mod -4, -3, '13 mod -4';
is -13 mod -4, -1, '-13 mod -4';

0 comments on commit 812ff94

Please sign in to comment.