def METHOD_NAME(self):
    with self.assertRaises(ValueError):
        _ = ThermometerEncoding(clip_values=(0, 1), num_space=-1)
    with self.assertRaises(ValueError):
        _ = ThermometerEncoding(clip_values=(0, 1, 2))
    with self.assertRaises(ValueError):
        _ = ThermometerEncoding(clip_values=(1, 0))