Corrade::TestSuite::Compare::FileToString class

Pseudo-type for comparing file contents to string.

Prints the length of both files (if they are different) and prints the value and position of the first different character in both files. Filename is expected to be in UTF-8. Example usage:

CORRADE_COMPARE_AS("actual.txt", "expected file contents",

See Comparing with pseudo-types for more information.