mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Fixed strCmp.
This commit is contained in:
@@ -91,6 +91,10 @@ TEST_CASE("strCat", "")
|
||||
|
||||
TEST_CASE("strCmp", "")
|
||||
{
|
||||
REQUIRE(0 < bx::strCmp("abvgd", "abv") );
|
||||
REQUIRE(0 < bx::strCmp("abvgd", "") );
|
||||
REQUIRE(0 > bx::strCmp("", "abvgd") );
|
||||
REQUIRE(0 != bx::strCmp(".tar.gz", ".") );
|
||||
REQUIRE(0 != bx::strCmp("meh", "meh/") );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user