Skip to content

Commit

Permalink
test elementwise leftshift on BigInt by vector of ints
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Jun 25, 2017
1 parent d0036c9 commit ae0ecba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/int.jl
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,5 @@ for T in [Base.BitInteger_types..., BigInt],
U in [Base.BitInteger_types..., BigInt]
@test typeof(rand(U(0):U(127)) % T) === T
end

@test (BigInt(1) .<< [1:70;])[end] == 1180591620717411303424

0 comments on commit ae0ecba

Please sign in to comment.