def test_gift_wrapping_2d_single(self): output = convex_hull.gift_wrapping_2d([(0, 0)]); self.assertEqual(output, [(0, 0)])
def test_gift_wrapping_2d(self): output = convex_hull.gift_wrapping_2d(self.input_2d) self.assertEqual(sorted(output), sorted(self.expected_2d))
def test_gift_wrapping_2d_empty(self): output = convex_hull.gift_wrapping_2d([]); self.assertEqual(output, [])