def test_get_value_length_custom(self):
     # for example:
     # both bits for the relevant mask are zero, which means it defers
     # to the remaining bits (instead of the hardcoded values)
     # the remainder are the least significant bits - here, 110
     self.assertEqual(get_value_length(0b11100110), 6)
 def test_get_value_length_3(self):
     self.assertEqual(get_value_length(0b11111111), 3)