Skip to content

Commit a8c9302

Browse files
author
Marek P
committed
fixed test (sort(roots()) needed)
1 parent 8595262 commit a8c9302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ a_roots = copy(pN.a)
6363
@test all(abs(sort(roots(poly(a_roots))) - sort(a_roots)) .< 1e6)
6464
@test length(roots(p5)) == 4
6565
@test roots(pNULL) == []
66-
@test roots(pR) == [1//2, 3//2]
66+
@test sort(roots(pR)) == [1//2, 3//2]
6767

6868
@test pNULL + 2 == p0 + 2 == 2 + p0 == Poly([2])
6969
@test p2 - 2 == -2 + p2 == Poly([-1,1])

0 commit comments

Comments
 (0)