Skip to content
Snippets Groups Projects
Unverified Commit 975fbbf5 authored by Lucas Ondel Yang's avatar Lucas Ondel Yang
Browse files

added test reverse

parent 30af2698
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,10 @@ end
s1 = val(cumsum(B2).tval[2])
s2 = Set((StringMonoid reverse val).((val cumsum)(rB2)[2]))
@test s1 == s2
# renorm
@test Base.isapprox(val(cumsum(A1 |> renorm; n = 100)), val(one(K)), atol=1e-6)
@test Base.isapprox(val(cumsum(A2 |> renorm; n = 100)), val(one(K)), atol=1e-6)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment