matcher-like nan check
diff --git a/examples/all_features/stringification.cpp b/examples/all_features/stringification.cpp
index 97e21e4..d26c5cc 100644
--- a/examples/all_features/stringification.cpp
+++ b/examples/all_features/stringification.cpp
@@ -146,6 +146,10 @@
CHECK_MESSAGE(s1 == s2, s1, " is not really ", s2);
}
+ CHECK(doctest::IsNaN(0.5));
+ CHECK(doctest::IsNaN(std::numeric_limits<float>::infinity()));
+ // can't test actual nan because it's implementation definedDOCTEST_MSVC_SUPPRESS_WARNING_WITH_PUSH(4738)
+
// lets see if this exception gets translated
throw_if(true, bla1);
}