

def test_best_prefix_prefer_NIST_from_SI(self):
    'NIST: Best prefix honors a NIST preference when starting with an SI unit\n\nStart with an SI (kb) unit and prefer a NIST unit as the result (MiB)\n'
    should_be_MiB = bitmath.kB(1600).best_prefix(system=bitmath.NIST)
    self.assertIs(type(should_be_MiB), bitmath.MiB)

dataset/ETHPy150Open tbielawa/bitmath/tests/test_best_prefix_NIST.py TestBestPrefixNIST.test_best_prefix_prefer_NIST_from_SI/original