def test_plant_tree(self): new_tree = plant_tree(TREE_PREFIX, TEST_ANUM + 1) self.assertTrue(is_healthy(new_tree)) new_tree = plant_tree(TREE_PREFIX, TEST_ANUM + 1, state=OF) self.assertFalse(is_healthy(new_tree))
def setUp(self): self.test_tree = plant_tree(TREE_PREFIX, TEST_ANUM) set_up()
def test_plant_tree(self): new_tree = plant_tree(TEST_ANUM + 1) self.assertTrue(is_healthy(new_tree)) new_tree = plant_tree(TEST_ANUM + 1, state=OF) self.assertFalse(is_healthy(new_tree))
def setUp(self): self.test_tree = plant_tree(TEST_ANUM) (ff.forest, ff.group_map) = set_up() ff.healthy += self.test_tree ff.forest.place_member(self.test_tree)
def setUp(self): self.test_tree = plant_tree(TEST_ANUM) (ff.forest, ff.group_map) = set_up() ff.healthy += self.test_tree ff.forest.place_member(self.test_tree)