Skip to content

Commit 74d1ea8

Browse files
committed
Add tests
1 parent c134eff commit 74d1ea8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_winchcontroller.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ if @isdefined __TEST__
9999
@test STATE[Int64(2.0/dt)] == 2
100100
@test STATE[Int64(3.0/dt)] == 1
101101
@test STATE[Int64(4.0/dt)] == 0
102+
@test mean(F_ERR) 27.65 rtol=0.1
103+
@test maximum(F_ERR) < 470
104+
@test minimum(F_ERR) > -400
102105

103106
else
104107
display(p1); display(p2); display(p3)

0 commit comments

Comments
 (0)