summaryrefslogtreecommitdiff
path: root/tests/utils/test5.cpp
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-15 11:35:06 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-15 11:35:06 +0200
commita4c747472abc18e5fcb5a2e5caf7fe7ed1495027 (patch)
tree17459d0c911a62725681a943de8db2159665171b /tests/utils/test5.cpp
parenta5645f8dc580ec51c75e296e53b484440f40683e (diff)
downloadcrawler-a4c747472abc18e5fcb5a2e5caf7fe7ed1495027.tar.gz
crawler-a4c747472abc18e5fcb5a2e5caf7fe7ed1495027.tar.bz2
added a test for stringicasecmp
Diffstat (limited to 'tests/utils/test5.cpp')
-rwxr-xr-xtests/utils/test5.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/utils/test5.cpp b/tests/utils/test5.cpp
new file mode 100755
index 0000000..507d3c3
--- /dev/null
+++ b/tests/utils/test5.cpp
@@ -0,0 +1,16 @@
+#include "StringUtils.hpp"
+
+#include <iostream>
+
+using namespace std;
+
+int main( void )
+{
+ if( stringicasecmp( "test", "TEST" ) ) {
+ cout << "test == TEST" << endl;
+ } else {
+ cout << "test <> TEST" << endl;
+ }
+
+ return 0;
+}