Skip to content

Commit 25cd160

Browse files
Merge pull request #1514 from SciML/reftests
Update reference tests
2 parents 5986692 + 90b395d commit 25cd160

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

test/latexify/20.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
\begin{align}
2-
\frac{du{_1}(t)}{dt} =& \left( - \mathrm{u{_1}}\left( t \right) + \mathrm{u{_2}}\left( t \right) \right) p{_3} \\
3-
0 =& - \mathrm{u{_2}}\left( t \right) + \frac{1}{10} \left( - \mathrm{u{_1}}\left( t \right) + p{_1} \right) \mathrm{u{_1}}\left( t \right) p{_2} p{_3} \\
4-
\frac{du{_3}(t)}{dt} =& \left( \mathrm{u{_2}}\left( t \right) \right)^{\frac{2}{3}} \mathrm{u{_1}}\left( t \right) - \mathrm{u{_3}}\left( t \right) p{_3}
2+
\frac{du_1(t)}{dt} =& \left( - \mathrm{u_1}\left( t \right) + \mathrm{u_2}\left( t \right) \right) p_3 \\
3+
0 =& - \mathrm{u_2}\left( t \right) + \frac{1}{10} \left( - \mathrm{u_1}\left( t \right) + p_1 \right) \mathrm{u_1}\left( t \right) p_2 p_3 \\
4+
\frac{du_3(t)}{dt} =& \left( \mathrm{u_2}\left( t \right) \right)^{\frac{2}{3}} \mathrm{u_1}\left( t \right) - \mathrm{u_3}\left( t \right) p_3
55
\end{align}

test/latexify/30.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
\begin{align}
2-
\frac{du{_1}(t)}{dt} =& \left( - \mathrm{u{_1}}\left( t \right) + \mathrm{u{_2}}\left( t \right) \right) p{_3} \\
3-
\frac{du{_2}(t)}{dt} =& - \mathrm{u{_2}}\left( t \right) + \frac{1}{10} \left( - \mathrm{u{_1}}\left( t \right) + p{_1} \right) \mathrm{u{_1}}\left( t \right) p{_2} p{_3} \\
4-
\frac{du{_3}(t)}{dt} =& \left( \mathrm{u{_2}}\left( t \right) \right)^{\frac{2}{3}} \mathrm{u{_1}}\left( t \right) - \mathrm{u{_3}}\left( t \right) p{_3}
2+
\frac{du_1(t)}{dt} =& \left( - \mathrm{u_1}\left( t \right) + \mathrm{u_2}\left( t \right) \right) p_3 \\
3+
\frac{du_2(t)}{dt} =& - \mathrm{u_2}\left( t \right) + \frac{1}{10} \left( - \mathrm{u_1}\left( t \right) + p_1 \right) \mathrm{u_1}\left( t \right) p_2 p_3 \\
4+
\frac{du_3(t)}{dt} =& \left( \mathrm{u_2}\left( t \right) \right)^{\frac{2}{3}} \mathrm{u_1}\left( t \right) - \mathrm{u_3}\left( t \right) p_3
55
\end{align}

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ using SafeTestsets, Test
3434
@safetestset "Jacobian Sparsity" begin include("jacobiansparsity.jl") end
3535
println("Last test requires gcc available in the path!")
3636
@safetestset "C Compilation Test" begin include("ccompile.jl") end
37-
@safetestset "Latexify recipes Test" begin include("latexify.jl") end
3837
@safetestset "StructuralTransformations" begin include("structural_transformation/runtests.jl") end
3938
@testset "Serialization" begin include("serialization.jl") end
4039
@safetestset "print_tree" begin include("print_tree.jl") end
4140
@safetestset "error_handling" begin include("error_handling.jl") end
4241
@safetestset "root_equations" begin include("root_equations.jl") end
4342
@safetestset "state_selection" begin include("state_selection.jl") end
43+
44+
# Reference tests go Last
45+
@safetestset "Latexify recipes Test" begin include("latexify.jl") end

0 commit comments

Comments
 (0)