Skip to content

Commit 7b898c9

Browse files
committed
Better tests
1 parent a3b6d13 commit 7b898c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/direct.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,6 @@ function test_worldage()
8282
end
8383
test_worldage()
8484

85-
@test_nowarn muladd(x, y, z)
85+
@test_nowarn muladd(x, y, ModelingToolkit.Constant(0))
86+
@test promote(x, ModelingToolkit.Constant(0)) == (x, identity(0))
8687
@test_nowarn [x, y, z]'

0 commit comments

Comments
 (0)