def test_best_prefix_prefer_NIST_from_NIST(self):
        # This should be MiB(512.0)
        should_be_MiB = bitmath.GiB(0.5).best_prefix(system=bitmath.NIST)
        self.assertIs(type(should_be_MiB), bitmath.MiB)

    ##################################################################
NIST: Best prefix honors a NIST preference when starting with an NIST unit
dataset/ETHPy150Open tbielawa/bitmath/tests/test_best_prefix_NIST.py/TestBestPrefixNIST.test_best_prefix_prefer_NIST_from_NIST