Skip to content

Commit

Permalink
Fix #944: remove unreliable time test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Jul 20, 2024
1 parent 523117c commit 60996c4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,6 @@
@test boundary(b) == Multi([cart(0, 0), cart(1, 1)])
@test perimeter(b) == zero(ℳ)

rng = StableRNG(123)
b = BezierCurve(cart.(randn(rng, 100), randn(rng, 100)))
t1 = @timed b(T(0.2))
t2 = @timed b(T(0.2), Horner())
@test t1.time < 5e-4
@test t2.time < 5e-4
@test t2.bytes < 100

# CRS propagation
b = BezierCurve(merc(0, 0), merc(0.5, 1), merc(1, 0))
@test crs(b(T(0), Horner())) === crs(b)
Expand Down

0 comments on commit 60996c4

Please sign in to comment.