Skip to content

Commit a8bc42a

Browse files
committed
Add testset for get_startup()
1 parent 1947c05 commit a8bc42a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/test_utils.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,11 @@ end
3232
x = -22
3333
@limit x 10
3434
@test x == -22
35+
end
36+
37+
@testset "get_startup" begin
38+
wcs = WCSettings(dt=0.02)
39+
startup_signal = get_startup(wcs, 1000)
40+
@test length(startup_signal) == 1000
41+
@test all(startup_signal[14:end] .== 1.0)
3542
end

0 commit comments

Comments
 (0)