Skip to content

Commit

Permalink
toString: Added more tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Jan 18, 2025
1 parent 13c40f9 commit 8ebafda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/string_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,10 @@ TEST_CASE("toString intXX_t/uintXX_t", "[string]")
{
REQUIRE(testToStringS(0, "0") );
REQUIRE(testToStringS(-256, "-256") );
REQUIRE(testToStringS(INT32_MIN, "-2147483648") );
REQUIRE(testToStringS(INT32_MAX, "2147483647") );
REQUIRE(testToStringS(UINT32_MAX, "4294967295") );
REQUIRE(testToStringS(INT64_MIN, "-9223372036854775808") );
REQUIRE(testToStringS(INT64_MAX, "9223372036854775807") );
REQUIRE(testToStringS(UINT64_MAX, "18446744073709551615") );

Expand Down

0 comments on commit 8ebafda

Please sign in to comment.