Changes

Summary

  1. Revert "Python support tests: clean our numbers since it sometimes seems to be causing problems on Windows." (details)
  2. CellML tools tests: addressed a slight issue with code generation. (details)
Commit 0f468b522e9b9ea047d213ecb66a983c2f8dc98b by Alan Garny
Revert "Python support tests: clean our numbers since it sometimes seems to be causing problems on Windows."

This reverts commits 30df0f6 and 2b0fc7b.

Indeed, although there is an extra "0" issue on Windows, it occurs during code generation as observed in our CellMLTools tests:

********* Start testing of Tests *********
Config: Using QtTest library 5.12.11, Qt 5.12.11 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2017)
PASS   : Tests::initTestCase()
PASS   : Tests::helpTests()
FAIL!  : Tests::exportToUserDefinedFormatTests() Compared lists differ at index 137.
   Actual   (mOutput): "    ALGEBRAIC(:,2) = piecewise({ rem(VOI, CONSTANTS(:,1))<CONSTANTS(:,2), CONSTANTS(:,3) }, 0.00000);"
   Expected (OpenCOR::fileContents(OpenCOR::fileName("src/plugins/tools/CellMLTools/tests/data/matlab_format_export_on_windows.out"))): "    ALGEBRAIC(:,2) = piecewise({ rem(VOI, CONSTANTS(:,1))<CONSTANTS(:,2), CONSTANTS(:,3) }, 0.000000);"
..\src\plugins\tools\CellMLTools\tests\tests.cpp(80) : failure location
PASS   : Tests::exportToCellml10Tests()
PASS   : Tests::validateCellmlFiles()
PASS   : Tests::cleanupTestCase()
Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 24254ms
********* Finished testing of Tests *********

*******************************
The file was modified src/plugins/support/PythonSupport/tests/data/coveragetests_connection_timed_out.out (diff)
The file was modified src/plugins/support/PythonSupport/tests/data/coveragetests.py (diff)
The file was modified src/plugins/support/PythonSupport/tests/data/utils.py (diff)
The file was modified src/plugins/support/PythonSupport/tests/data/coveragetests_host_not_found.out (diff)
The file was modified src/plugins/support/PythonSupport/tests/data/basictests.out (diff)
Commit d989391e0cb78f3d288e5e5dcc5ae685b984c0c2 by Alan Garny
CellML tools tests: addressed a slight issue with code generation.
The file was modified src/plugins/tools/CellMLTools/tests/data/matlab_format_export_on_windows.out (diff)