Changes between Version 1 and Version 2 of addnewNR


Ignore:
Timestamp:
11/14/14 19:43:24 (10 years ago)
Author:
Mathieu Morlighem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • addnewNR

    v1 v2  
    11Create 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.
    2 Put the name of your test in IdToName.m and run
     2Put the name of your test in `IdToName.m` and run
    33
    4 `runme('id',XXX,'procedure','update')`
     4{{{
     5#!m
     6>> runme('id',XXX,'procedure','update')
     7}}}
    58
    69to 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
    710
    8 `runme('id',XXX)`
     11{{{
     12#!m
     13runme('id',XXX)
     14}}}
    915
    1016it should write SUCCESS everywhere. If not, you may have used a too big coefficient like 10^48 in your code and every machine won’t give the same result.