Skip to content

Commit 8a5ac1b

Browse files
committed
add tests
1 parent b438327 commit 8a5ac1b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/traces.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ end
5757
t[end] == (state=2, next_state=3)
5858
empty!(t)
5959
@test length(t) == 0
60+
61+
t2 = MultiplexTraces{(:state, :next_state)}(Int[1,2,3,4])
62+
append!(t, t2[:state])
63+
@test t[:state] == [1,2,3]
64+
@test t[:next_state] == [2,3,4]
6065
end
6166

6267
@testset "MergedTraces" begin

0 commit comments

Comments
 (0)