Changeset 603 for library/tests
- Timestamp:
- 09/04/09 00:45:40 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/datasource_test.cpp
r598 r603 25 25 shared_ptr<MpdfDS> ds=UI::build<MpdfDS>(uif, "ds", UI::compulsory); 26 26 27 vec dt = zeros( 1);27 vec dt = zeros(2); 28 28 vec ut="1.0"; 29 29 ds->write(ut); … … 32 32 } 33 33 ds->getdata(dt); 34 CHECK_CLOSE ( -0.2 , dt(0), 1e- 5);34 CHECK_CLOSE ( -0.2 , dt(0), 1e-4); 35 35 36 36 ut="2.0"; … … 40 40 } 41 41 ds->getdata(dt); 42 CHECK_CLOSE ( -0.4 , dt(0), 1e- 5);42 CHECK_CLOSE ( -0.4 , dt(0), 1e-4); 43 43 }