Skip to content

Commit

Permalink
Added a call which will fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Mar 18, 2016
1 parent 87f2ac1 commit 8695815
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openmodelica/interactive-API/ConvertUnits.mos
Expand Up @@ -2,10 +2,14 @@

convertUnits("MW/s","kg");getErrorString();
convertUnits("degC","K");getErrorString();
convertUnits("K","degF");getErrorString();

// Result:
// (false,0.000001,0.0)
// (false,1e-06,0.0)
// ""
// (true,1.0,-273.15)
// ""
// (false,1.0,0.0)
// "Error: error parsing unit degF
// "
// endResult

0 comments on commit 8695815

Please sign in to comment.