From a658b00162acb3da24873be173f6a66e411b10e5 Mon Sep 17 00:00:00 2001 From: jClugstor Date: Wed, 26 Jun 2024 10:47:27 -0400 Subject: [PATCH] test format --- test/runtests.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 3202f4b..6cf7798 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -8,14 +8,12 @@ using Test, SafeTestsets BM = BaseModelica PC = BM.ParserCombinator - arith_test = only(PC.parse_one("5 + 6*(45 + 9^2)^2", BM.arithmetic_expression)) @test arith_test isa BM.BaseModelicaSum @test BM.eval_AST(arith_test) == 95261.0 - newton_path = joinpath( - dirname(dirname(pathof(BM))),"test", "testfiles", "NewtonCoolingBase.mo") + dirname(dirname(pathof(BM))), "test", "testfiles", "NewtonCoolingBase.mo") newton_cooling = BM.parse_file(newton_path) @test newton_cooling isa BM.BaseModelicaPackage newton_system = BM.baseModelica_to_ModelingToolkit(newton_cooling)