36bool areFilesEqual(
const std::string &referenceFileFullPath,
const std::string &outFileFullPath);
bool areFileStreamsEqual(std::ifstream &referenceFileStream, std::ifstream &fileToCheck)
Checks if two file streams are equal in content and length.
bool isEqualToReferenceFile(const std::string &referenceFileName, const std::string &outFileFullPath)
Attempts to find a reference file with the given name using Mantid then compares content and length o...
std::istreambuf_iterator< char > streamCharIter
FileComparisonHelper provides several helper functions to compare files or file-streams within unit t...
bool areIteratorsEqual(streamCharIter refStream, streamCharIter testStream, streamCharIter refStreamEnd=streamCharIter(), streamCharIter testStreamEnd=streamCharIter())
Compares the length and content of std::streams iterators and returns if they are equal.
bool areFilesEqual(const std::string &referenceFileFullPath, const std::string &outFileFullPath)
Checks if two files are equal in content and length at the specified path.