File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 5050
5151path = joinpath (@__DIR__ , " designs" );
5252
53- fixed_volume_icon = lowercase (
54- abspath (
55- raw " icons\M odelingToolkitStandardLibrary\H ydraulic\I sothermalCompressible\F ixedVolume.png" ,
56- ),
57- )
58-
59- @test lowercase (abspath (ModelingToolkitDesigner. find_icon (sys. vol, path))) ==
60- fixed_volume_icon
53+ fixed_volume_icon_ans =
54+ raw " icons\M odelingToolkitStandardLibrary\H ydraulic\I sothermalCompressible\F ixedVolume.png"
55+ fixed_volume_icon_ans = abspath (fixed_volume_icon_ans)
56+ fixed_volume_icon_ans = normpath (fixed_volume_icon_ans)
57+ fixed_volume_icon_ans = lowercase (fixed_volume_icon_ans)
58+
59+ fixed_volume_icon = ModelingToolkitDesigner. find_icon (sys. vol, path)
60+ fixed_volume_icon = abspath (fixed_volume_icon)
61+ fixed_volume_icon = normpath (fixed_volume_icon)
62+ fixed_volume_icon = lowercase (fixed_volume_icon)
63+
64+ @test fixed_volume_icon == fixed_volume_icon_ans
6165
6266
6367design = ODESystemDesign (sys, path);
You can’t perform that action at this time.
0 commit comments