From dae5ea5d0ba5b1b2f57ea9e62092534861ca7505 Mon Sep 17 00:00:00 2001 From: Josh Day Date: Tue, 21 May 2024 10:39:59 -0400 Subject: [PATCH] tests for merge --- test/runtests.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 612245e..94a6f8e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -27,6 +27,8 @@ O = OnlineStatsBase @test is_mergeable(Mean()) == true @test is_mergeable(CircBuff(Int, 5)) == false + @test_throws Exception merge!(fit!(CircBuff(Int,5), 1), fit!(CircBuff(Int,5), 2)) + @testset "name" begin name = OnlineStatsBase.name o = Mean()