aboutsummaryrefslogtreecommitdiff
path: root/tests/test_human_readable.test
AgeCommit message (Collapse)Author
2016-03-02Factor out command name at the start of test name, have runtest.sh print it.Rob Landley
2016-03-02Try to consistently print command name at the start of each test.Rob Landley
2015-09-06Switch HR_SI to HR_1000, make binary the default, make HR_B only affect bytes,Rob Landley
and update the tests.
2015-09-03Make human_readable() handle base 1024 units without floating point.Rob Landley
Rounds correctly via brute force, displayed digits are decimal even when working with powers of 2, shows at most 3 significant (decimal) digits. (So no "1023M" nonsense, that's 1.0G.)