def test_rightof_false(self):
     self.assertFalse(
         simple_planner.goalWrapper([[('rightof', 'a', 'b')]],
                                    [['a'], ['c'], ['b']], None, 0,
                                    self.objects))
 def test_leftof_true(self):
     self.assertTrue(
         simple_planner.goalWrapper([[('leftof', 'a', 'b')]],
                                    [['a'], ['c'], ['b']], None, 0,
                                    self.objects))
 def test_leftof_false(self):
     self.assertFalse(
         simple_planner.goalWrapper([[('leftof', 'c', 'a')]],
                                    [['a'], [], ['b']], 'c', 0,
                                    self.objects))
 def test_beside_true(self):
     self.assertTrue(
         simple_planner.goalWrapper([[('beside', 'a', 'c')]],
                                    [['a'], ['c'], ['b']], None, 0,
                                    self.objects))
 def test_beside_notFound(self):
     self.assertFalse(
         simple_planner.goalWrapper([[('beside', 'a', 'b')]],
                                    [['a'], ['c'], []], 'b', 0,
                                    self.objects))
 def test_under_false(self):
     self.assertFalse(
         simple_planner.goalWrapper([[('under', 'a', 'b')]],
                                    [[], [], ['b', 'c', 'a']], None, 0,
                                    self.objects))
 def test_goal(self):
     self.assertFalse(simple_planner.goalWrapper(*self.state))
 def test_holding_true(self):
     self.assertTrue(
         simple_planner.goalWrapper([[('holding', None, None)]],
                                    *self.state))
 def test_above_false(self):
     self.assertFalse(
         simple_planner.goalWrapper([[('above', 'a', 'b')]],
                                    [[], [], ['a', 'c', 'b']], None, 0,
                                    self.objects))
 def test_ontop_false(self):
     self.assertFalse(
         simple_planner.goalWrapper([[('ontop', 'b', 'a')]], *self.state))
 def test_ontop_true(self):
     self.assertTrue(
         simple_planner.goalWrapper([[('ontop', 'a', 'b')]], *self.state))
 def test_inside_false(self):
     self.assertFalse(
         simple_planner.goalWrapper([[('inside', 'b', 'a')]], *self.state))
 def test_inside_false_holding(self):
     self.assertFalse(
         simple_planner.goalWrapper([[('inside', 'a', 'b')]], [[], ['b']],
                                    'a', 1, self.objects))
 def test_inside_true(self):
     self.assertTrue(
         simple_planner.goalWrapper([[('inside', 'a', 'b')]], *self.state))