Changeset 1675
- Timestamp:
- Dec 23, 2008, 12:23:40 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/README
r1649 r1675 74 74 test::Suite class (see functions err() and out()). 75 75 76 When writing numerical tests, it is typically desired to allow for 77 some small errors in the comparisons. When comparing two doubles 78 computed within the same program, the error bound should scale with 79 the machine precision. See test::Suite::equal(3). In other case, for 80 example, when the comparison includes a double distributed in 81 'test/data' the error bound should be fixed and reflect the 82 precision in the distributed file. See test::Suite::equal_fix(3). 83 76 84 If a test needs a data file, place the data in directory 77 85 'test/data'. However, you should feel free to re-use the data files
Note: See TracChangeset
for help on using the changeset viewer.