def METHOD_NAME(self):
    assert bcd_decode(0x1) == 1
    assert bcd_decode(0x9123) == 9123
    with pytest.raises(ValueError):
        bcd_decode(0xf)
    decoded = bcd_decode(np.array([0x1, 0x9123]))
    assert isinstance(decoded, np.ndarray)
    assert np.all(decoded == np.array([1, 9123]))
    with pytest.raises(ValueError):
        bcd_decode(np.array([0xf, 9123]))
    with pytest.raises(TypeError):
        bcd_decode([1, 2])