Skip to content

Commit

Permalink
add allocation test
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Sep 6, 2018
1 parent 998831e commit 531d50f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/ranges.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1371,3 +1371,8 @@ end # module NonStandardIntegerRangeTest
end
end
end

@testset "allocation of TwicePrecision call" begin
@test @allocated 0:286.493442:360
@test @allocated 0:286:360
end

0 comments on commit 531d50f

Please sign in to comment.