UNB/ CS/ David Bremner/ teaching/ cs2613/ labs/ L15/ test humansize.py
#!/usr/bin/python3

from humansize import approximate_size

def test_1000():
    assert approximate_size(1000000000000, False) == "1.0 TB"

def test_1024():
    assert approximate_size(1000000000000) == "931.3 GiB"