diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-15 11:35:06 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-15 11:35:06 +0200 |
commit | a4c747472abc18e5fcb5a2e5caf7fe7ed1495027 (patch) | |
tree | 17459d0c911a62725681a943de8db2159665171b /tests/utils/test5.cpp | |
parent | a5645f8dc580ec51c75e296e53b484440f40683e (diff) | |
download | crawler-a4c747472abc18e5fcb5a2e5caf7fe7ed1495027.tar.gz crawler-a4c747472abc18e5fcb5a2e5caf7fe7ed1495027.tar.bz2 |
added a test for stringicasecmp
Diffstat (limited to 'tests/utils/test5.cpp')
-rwxr-xr-x | tests/utils/test5.cpp | 16 |
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; +} |