Add basic tests for reading/writing structure files
[alexxy/gromacs.git] / src / testutils / stringtest.h
index ce0f00af86084ab4b25caeef6283a45be62a1787..7f475b8e316c2b7b7de9b4644ed3c098863f7cc6 100644 (file)
@@ -110,6 +110,15 @@ class StringTestBase : public ::testing::Test
          */
         void checkFileContents(const std::string &filename, const char *id);
 
+        /*! \brief
+         * Tests that contents of two files are equal.
+         *
+         * \param[in] refFilename   File with the expected contents.
+         * \param[in] testFilename  File with the contents to be tested.
+         */
+        void testFilesEqual(const std::string &refFilename,
+                            const std::string &testFilename);
+
     private:
         class Impl;