2 from rosparam_handler.param.MinMaxParameters
import MinMaxParameters
7 params = MinMaxParameters()
8 self.assertEqual(params.int_param_w_minmax, 2)
9 self.assertAlmostEqual(params.double_param_w_minmax, 2.)
11 self.assertEqual(params.vector_int_param_w_minmax, [0, 2, 2])
12 self.assertEqual(params.vector_double_param_w_minmax, [0, 1.2, 2.])
14 self.assertEqual(params.map_param_w_minmax, {
"value1": 0.,
"value2": 1.2,
"value3": 2.})
def test_min_max_parameters(self)