Skip to content

Commit 67454f7

Browse files
committed
Test one more function
1 parent 10c0e03 commit 67454f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/dynamics/piecewise_nonlinear.jl

+4-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ Y_expected = concretize(ConvexHull(Y1_expected, Y2_expected))
100100
# Vector inputs
101101
x = [0.5, 0.5]
102102
u = [0.0]
103+
X = Singleton(x)
104+
U = Singleton(u)
103105

104-
y = nominal(dyn, x, u)
106+
y = nominal(dyn, X, U)
105107
y_expected = g(x, u)
106-
@test y y_expected
108+
@test element(y) y_expected

0 commit comments

Comments
 (0)