diff --git a/tests/samples/code-input.mo b/tests/samples/code-input.mo index 24563d2..84a2bb4 100644 --- a/tests/samples/code-input.mo +++ b/tests/samples/code-input.mo @@ -48,6 +48,8 @@ parameter Real[1] foo = if bar then 2 elseif baz then 3 else 4; Integer[1, 3, 4] bar =if true then 1 elseif baz<2 then 3 else 2; +Real smallest=(Modelica.Math.Vectors.sort({4,2,5,1}))[1]; + protected // Here we have to comments diff --git a/tests/samples/code-output.mo b/tests/samples/code-output.mo index dd9c7df..c071a83 100644 --- a/tests/samples/code-output.mo +++ b/tests/samples/code-output.mo @@ -59,6 +59,8 @@ final partial model FooModel else 2; + Real smallest = (Modelica.Math.Vectors.sort({4, 2, 5, 1}))[1]; + protected // Here we have to comments