|
Rosetta 3.5
|
Literally compare files, line by line: TS_ASSERT_FILE_EQ. This assert will pass if files are equal and generate unit test error otherwise. Example:
Compare files as a string of double numbers: TS_ASSERT_FILE_EQ_AS_DOUBLE. This command read two text file convert them to a vector of doubles (using space as separator) and compare vector of doubles using specified absolute and relative tolerance. Example:
inline void core_init_with_additional_options( std::string const & commandline_in ) Reinitialize option system in middle of the test with additional arguments. Actual command line that will be used is equal original command line (which was supplied to unit test executable) + new arguments supplied to the function.
Please note that this function do not delete any singletons that already was allocated (for example ResidueSet). If you need to re-initialize such singleton - delete them by hand before calling this function.
1.8.4