Skip to content

Commit

Permalink
Merge pull request #1 from jbn/master
Browse files Browse the repository at this point in the history
update tests to clear 0.4.0-RC1 deprecations
  • Loading branch information
rawrgrr committed Sep 12, 2015
2 parents a2b913e + e7eebee commit 0b4a720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ P22 = [2. 3]
@test Array[[10, 5]] == bezier(0.5, Vector{FloatingPoint}[[0., 0], [10, 10], [20, 0]])

# quadratic interpolation with matrix
@test [[10 5]] == bezier(0.5, [[0. 0], [10 10], [20 0]])
@test [[10 5]] == bezier(0.5, [0. 0; 10 10; 20 0])
@test [[10 5];] == bezier(0.5, [[0. 0]; [10 10]; [20 0]])
@test [[10 5];] == bezier(0.5, [0. 0; 10 10; 20 0])

# boundary checks
@test_throws DomainError bezier(prevfloat(0.), [0., 1], [2., 3])
Expand Down

0 comments on commit 0b4a720

Please sign in to comment.