def test_best_prefix_with_bitmath_input(self):
        bm1 = bitmath.Byte(1024)
        expected = bitmath.KiB(1)
        self.assertEqual(bitmath.best_prefix(bm1), expected)

    # Negative Tests - reference: github issue #55
    #
    # For instances where x in set { b | 0 <= abs(b) < 8 } where b is
    # number of bits in an instance:
    #
    # * bitmath.best_prefix(Byte(bits=-4)) -> Bit(-4)
    # * bitmath.best_prefix(Byte(bits=4)) -> Bit(4)
Write the package file.
dataset/ETHPy150Open tbielawa/bitmath/tests/test_best_prefix_BASE.py/TestBestPrefixBASE.test_best_prefix_with_bitmath_input--crossover with--dataset/ETHPy150Open modflowpy/flopy/flopy/modflow/mfpval.py/ModflowPval.write_file