diff --git a/test/runtests.jl b/test/runtests.jl index cd1e71171014f52360c46724eae477b9a423eacc..03f17ec0797c8f1be84c3601b58573bfed7b72c1 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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