File tree Expand file tree Collapse file tree 4 files changed +6
-33
lines changed Expand file tree Collapse file tree 4 files changed +6
-33
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,11 +4,14 @@ using Test
44# Derivatives
55@Param t σ ρ β
66@Unknown x (t) y (t) z (t)
7- @Deriv D' ~ t
8- dsin = D (sin (t))
9- expand_derivatives (dsin)
7+ @Deriv D' ~ t D2'' ~ t
8+
9+ @test expand_derivatives (D (t)) == 1
10+ @test expand_derivatives (D (D (t))) == 0
1011
12+ dsin = D (sin (t))
1113@test expand_derivatives (dsin) == cos (t)
14+
1215dcsch = D (csch (t))
1316@test expand_derivatives (dcsch) == simplify_constants (coth (t) * csch (t) * - 1 )
1417
Original file line number Diff line number Diff line change 11using ModelingToolkit, Test
22
33@testset " Parsing Test" begin include (" variable_parsing.jl" ) end
4- @testset " Basic Variables and Operations" begin include (" basic_variables_and_operations.jl" ) end
54@testset " Differentiation Test" begin include (" derivatives.jl" ) end
65@testset " Simplify Test" begin include (" simplify.jl" ) end
7- @testset " Ambiguity Test" begin include (" ambiguity.jl" ) end
86@testset " System Construction Test" begin include (" system_construction.jl" ) end
You can’t perform that action at this time.
0 commit comments