Skip to content

Commit aa0f5cf

Browse files
committed
Update tests
1 parent 3570cc6 commit aa0f5cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/simplify.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ d3 = Differential(x)(d2)
3131
@test toexpr(expand_derivatives(d3)) == :(0)
3232
@test toexpr(simplify(x^0)) == :(1)
3333

34-
@test ModelingToolkit.substitute(2x + y == 1, Dict(x => 0.0, y => 0.0)) === false
35-
@test ModelingToolkit.substitute(2x + y == 1, Dict(x => 0.0, y => 1.0)) === true
34+
@test ModelingToolkit.substitute(value(2x + y == 1), Dict(x => 0.0, y => 0.0)) === false
35+
@test ModelingToolkit.substitute(value(2x + y == 1), Dict(x => 0.0, y => 1.0)) === true
3636

3737
# 699
3838
using SymbolicUtils: substitute

0 commit comments

Comments
 (0)