mirror of
https://github.com/bkaradzic/bx.git
synced 2026-08-06 13:38:53 +00:00
Added bx::toHuman. (#370)
This commit is contained in:
committed by
GitHub
parent
2b946b4668
commit
a6168a9d1c
@@ -26,7 +26,7 @@ TEST_CASE("prettify", "[string]")
|
||||
prettify(tmp, BX_COUNTOF(tmp), 4000, bx::Units::Kilo);
|
||||
REQUIRE(0 == bx::strCmp(tmp, "4 kB") );
|
||||
|
||||
prettify(tmp, BX_COUNTOF(tmp), 4096, bx::Units::Kibi);
|
||||
prettify(tmp, BX_COUNTOF(tmp), 4096, bx::Units::KibiByte);
|
||||
REQUIRE(0 == bx::strCmp(tmp, "4 KiB") );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user