Fixed strCmp.

This commit is contained in:
Бранимир Караџић
2019-02-17 16:09:58 -08:00
parent 1b29d67158
commit bb3426030a
2 changed files with 10 additions and 1 deletions

View File

@@ -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/") );
}