Skip to content

Commit

Permalink
Add more tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkeller34 committed Dec 6, 2017
1 parent 664b715 commit 4c1a227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/runtests.jl
Expand Up @@ -877,6 +877,8 @@ end
@test @inferred(last(range(0,10°,37))) == 2pi
@test @inferred(last(range(0°,2pi/36,37))) == 2pi
@test_throws ArgumentError 1.0m:0.0m:5.0m
@test_throws DimensionError range(1.0m, 1.0V, 5)
@test step(range(1.0m, 1m, 5)) === 1.0m
end
@testset ">> LinSpace" begin
@test isa(@inferred(linspace(1.0m, 3.0m, 5)),
Expand Down

0 comments on commit 4c1a227

Please sign in to comment.