Open kmirzavaziri opened 10 months ago
Let's keep it short, such a test will fail:
assertEquals(t, "1GB", HumanSizeWithPrecision(999.6*MB, 3))
With the following message:
Expected '1GB' but got '1e+03MB'
The case holds in the following scenarios:
However, it works fine with precision 4 or higher.
I am willing to fix this issue as a new person to open source contribution.
Let's keep it short, such a test will fail:
With the following message:
The case holds in the following scenarios:
However, it works fine with precision 4 or higher.