Skip to content

Commit a843902

Browse files
committed
fix unitful tests
1 parent 2be3a5b commit a843902

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/downstream/unitful.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ prob = ODEProblem(f, [2.0u"m"], (0.0u"s", Inf * u"s"))
44
intg = init(prob, Tsit5())
55
@test_nowarn step!(intg, 0.02u"s", true)
66

7-
@test DiffEqBase.unitfulvalue(u"1/s") == u"1/s"
8-
@test DiffEqBase.value(ForwardDiff.Dual(1) * u"1/s") == 1
9-
@test DiffEqBase.unitfulvalue(ForwardDiff.Dual(1) * u"1/s") == u"1/s"
7+
@test SciMLBase.unitfulvalue(u"1/s") == u"1/s"
8+
@test SciMLBase.value(ForwardDiff.Dual(1) * u"1/s") == 1
9+
@test SciMLBase.unitfulvalue(ForwardDiff.Dual(1) * u"1/s") == u"1/s"

0 commit comments

Comments
 (0)