Commit e20b37ac authored by Brice Videau's avatar Brice Videau


parent 0d9c911e
...@@ -79,7 +79,7 @@ class Test(unittest.TestCase): ...@@ -79,7 +79,7 @@ class Test(unittest.TestCase):
(cs, os) = create_tuning_problem() (cs, os) = create_tuning_problem()
t = TestTuner(cs, os) t = TestTuner(cs, os)
self.assertEqual("tuner", self.assertEqual("tuner",
self.assertEqual(ccs.TUNER_USER_DEFINED, t.type.value) self.assertEqual(ccs.TUNER_USER_DEFINED, t.type)
self.assertEqual(cs.handle.value, t.configuration_space.handle.value) self.assertEqual(cs.handle.value, t.configuration_space.handle.value)
self.assertEqual(os.handle.value, t.objective_space.handle.value) self.assertEqual(os.handle.value, t.objective_space.handle.value)
func = lambda x, y, z: [(x-2)*(x-2), sin(z+y)] func = lambda x, y, z: [(x-2)*(x-2), sin(z+y)]
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment