Permalink
Browse files

Add a test which would fail if infix:<**> was just falling back to Num.

  • Loading branch information...
colomon committed Jan 30, 2011
1 parent ea2fd69 commit 18a8910888d34a4be9c1c963af74e1e9cfe828b0
Showing with 2 additions and 0 deletions.
  1. +2 −0 t/02-arith.t
View
@@ -128,6 +128,8 @@ plan *;
is @powers-of-three[$i], 3¹ ** $i, "3 ** $i agrees (integer power)";
is @powers-of-three[$i], 3¹ ** Math::BigInt.new($i), "3 ** $i agrees (Math::BigInt power)";
}
+
+ is (2¹)**80, "1208925819614629174706176", "2**80 is 1208925819614629174706176";
}

0 comments on commit 18a8910

Please sign in to comment.