]> rtime.felk.cvut.cz Git - wvtest.git/blobdiff - cpp/wvtest.h
Merge branch 'master' of git://github.com/wlach/wvtest
[wvtest.git] / cpp / wvtest.h
index dbbd1dedfc9952ddd93ae879c2961d90a01a8062..ac9a526d54bd1f79c496489cb5c875948488c7f7 100644 (file)
@@ -12,6 +12,7 @@
 #endif
 
 #include <time.h>
+#include <string>
 
 class WvTest
 {
@@ -39,6 +40,9 @@ public:
         { start(file, line, condstr); check(cond); return cond; }
     static bool start_check_eq(const char *file, int line,
                               const char *a, const char *b, bool expect_pass);
+    static bool start_check_eq(const char *file, int line,
+                              const std::string &a, const std::string &b, 
+                               bool expect_pass);
     static bool start_check_eq(const char *file, int line, int a, int b,
                                bool expect_pass);
     static bool start_check_lt(const char *file, int line,