1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-19 07:20:28 +01:00

the order of roots has changed

This commit is contained in:
Marek Kaluba 2024-02-15 22:45:55 +01:00
parent d3975790f2
commit 3a954cdfbd
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15

View File

@ -52,7 +52,7 @@ end
a = F4[1] a = F4[1]
@test isapprox(PropertyT.Roots.₂length(a), sqrt(2)) @test isapprox(PropertyT.Roots.₂length(a), sqrt(2))
b = F4[6] b = F4[4]
@test isapprox(PropertyT.Roots.₂length(b), sqrt(2)) @test isapprox(PropertyT.Roots.₂length(b), sqrt(2))
c = a + b c = a + b
@test isapprox(PropertyT.Roots.₂length(c), 2.0) @test isapprox(PropertyT.Roots.₂length(c), 2.0)
@ -162,7 +162,6 @@ end
]) ])
@test Set(keys(counts)) == subtypes @test Set(keys(counts)) == subtypes
d, r = divrem(counts[:A₂], 4) d, r = divrem(counts[:A₂], 4)
@info d, r
@test r == 0 && d == 10 @test r == 0 && d == 10
end end
end end