Version 1 (modified by 10 years ago) ( diff ) | ,
---|
Create a testXXX.m file with the simulation test and put in field_names, field_tolerances and field_values the names of the field you want to check for your test with the tolerances associated (because every computer is different) and the path to the values. Put the name of your test in IdToName.m and run
runme('id',XXX,'procedure','update')
to create an archive in test/Archives where the reference values will be. This archive is the same for the Python test. Now if you run
runme('id',XXX)
it should write SUCCESS everywhere. If not, you may have used a too big coefficient like 1048 in your code and every machine won’t give the same result.
NB : do the same thing for testXXX.py and IdToName.py without creating the archive this time.
You can svn add
the files and svn commit –m “CHG : description”
.