Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/MiscTests.cpp
diff options
context:
space:
mode:
authorPhil Nash2015-07-23 19:03:33 +0100
committerPhil Nash2015-07-23 23:05:05 +0100
commit733ebb6024d6b6ff60ef96b9f761828e6eff6ae7 (patch)
tree15f230026099d84782a4449942ff2ce0bcc42c4b /projects/SelfTest/MiscTests.cpp
parentd6e59cd56f196eb40cbec3223531ee8d98e8ac8f (diff)
downloadcatch3-733ebb6024d6b6ff60ef96b9f761828e6eff6ae7.tar.gz
Added CATCH_CONFIG_CPP11_LONG_LONG support
Diffstat (limited to 'projects/SelfTest/MiscTests.cpp')
-rw-r--r--projects/SelfTest/MiscTests.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/projects/SelfTest/MiscTests.cpp b/projects/SelfTest/MiscTests.cpp
index 04b86c81..8dbebea7 100644
--- a/projects/SelfTest/MiscTests.cpp
+++ b/projects/SelfTest/MiscTests.cpp
@@ -418,6 +418,14 @@ TEST_CASE( "XmlEncode" ) {
}
}
+#ifdef CATCH_CONFIG_CPP11_LONG_LONG
+TEST_CASE( "long long" ) {
+ long long l = std::numeric_limits<long long>::max();
+
+ REQUIRE( l == std::numeric_limits<long long>::max() );
+}
+#endif
+
//TEST_CASE( "Divide by Zero signal handler", "[.][sig]" ) {
// int i = 0;
// int x = 10/i; // This should cause the signal to fire