asam-ev / qc-openscenarioxml

6 stars 3 forks source link

Check input string before double conversion in non negative checks #37

Closed romanodanilo closed 2 months ago

romanodanilo commented 2 months ago

Description

Check input string before double conversion in non negative checks

This PR follows the test on public openscenario example where reading the value "1,2" was crashing the checker execution

Now it skips the checks as the value sign cannot be interpreted if the double string is not well formed

How was the PR tested?

  1. Unit-test with sample data. All unit tests passed. Notes