support for comparing C strings
diff --git a/examples/dev_testing/test.cpp b/examples/dev_testing/test.cpp
index 3673919..8718b6a 100644
--- a/examples/dev_testing/test.cpp
+++ b/examples/dev_testing/test.cpp
@@ -8,6 +8,7 @@
 #include <string>

 #include <vector>

 #include <ostream>

+#include <cstring>

 

 template <typename T>

 std::ostream& operator<<(std::ostream& s, const std::vector<T>& in) {

@@ -32,9 +33,31 @@
 template<typename T, typename T2>

 std::ostream& operator<<(std::ostream& s, const myType<T, T2>&) { s << "myType"; return s; }

 

+#ifdef _MSC_VER

+#pragma warning(push)

+#pragma warning(disable : 4996) // The compiler encountered a deprecated declaration

+#pragma warning(disable : 4267) // 'var' : conversion from 'size_t' to 'type', possible loss of data

+#pragma warning(disable : 4706) // assignment within conditional expression

+#pragma warning(disable : 4512) // 'class' : assignment operator could not be generated

+#pragma warning(disable : 4127) // conditional expression is constant

+#endif                          // _MSC_VER

+

 TEST_SUITE("MAIN");

 TEST_CASE("zzz") {

-    CHECK(std::string("OMG2") == std::string("OMG"));

+    //CHECK(std::string("OMG2") == std::string("OMG"));

+    //CHECK("OMG2" == std::string("OMG2"));

+    char* foo = new char[10];

+    strcpy(foo, "xxx");

+    char* bar = new char[5];

+    strcpy(bar, "xxx");

+    const char* const op = "xxx";

+    const char* op2 = "xxx";

+    CHECK(op == "xxx");

+    CHECK(foo == bar);

+    CHECK(op == op2);

+    CHECK(op2 == bar);

+

+    doctest::detail::eq(foo, op2);

 

     std::vector<int> vec1;

     vec1.push_back(1);

@@ -46,12 +69,12 @@
     vec2.push_back(2);

     vec2.push_back(4);

 

-    myType<int, float> op1;

-    myType<int, float> op2;

+    //myType<int, float> op1;

+    //myType<int, float> op2;

 

-    CHECK(op1 == op2);

+    //CHECK(op1 == op2);

 

-    CHECK(vec1 == vec2);

+    //CHECK(vec1 == vec2);

     //CHECK(vec1 == vec2);

 

     REQUIRE(true == false);