def test_rec_three_points(self):
     hyps = list(axis_aligned_hypotheses(self._2d[3]))
     for pp in [[False, False, False],
                [False, True, False], [False, True, False], [False, False, True],
                [True, True, False], [True, False, True],
                [True, True, True]]:
         self.assertTrue(assign_exists(self._2d[3], hyps, pp))
 def test_rec_four_points(self):
     hyps = list(axis_aligned_hypotheses(self._2d[4]))
     self.assertEqual(14, len(hyps))
 def test_rec_single_point(self):
     hyps = list(axis_aligned_hypotheses(self._2d[1]))
     self.assertTrue(assign_exists(self._2d[1], hyps, [True]))
     self.assertTrue(assign_exists(self._2d[1], hyps, [False]))