def test_wraparound(): '''Test when clear place is on the wraparound.''' result = find_clear_place_on_circle((0.3, 0.5, 0.8), 1) nose.tools.assert_almost_equal(result, 0.05)
def __call__(self): hues = dict_tools.get_contained( self.gui_project.step_profiles_to_hues, self.gui_project.step_profiles ) return misc_tools.find_clear_place_on_circle(hues, circle_size=1)
def test_wraparound(): '''Test when clear place is on the wraparound.''' result = find_clear_place_on_circle((0.3, 0.5, 0.8), 1) nose.tools.assert_almost_equal(result, 0.05)