@pytest.mark.parametrize('size, unit, result', [(1, 'KB', '1024.00'), (1, 'MB', '1048576.00'), (1, 'GB', '1073741824.00'), (1, 'TB', '1099511627776.00'), (1, 'PB', '1125899906842624.00'), (1, 'EB', '1152921504606846976.00')])
def test_human2bytes(size, unit, result):
    assert (bytesconv.human2bytes(size, unit) == result)
@pytest.mark.parametrize('size, unit, result', [(1, 'KB', '1024.00'), (1, 'MB', '1048576.00'), (1, 'GB', '1073741824.00'), (1, 'TB', '1099511627776.00'), (1, 'PB', '1125899906842624.00'), (1, 'EB', '1152921504606846976.00')])
def test_human2bytes(size, unit, result):
    assert (bytesconv.human2bytes(size, unit) == result)