def test_checkBirthBeforeDeathOfParents(self): self.assertTrue(checkBirthBeforeDeathOfParents(root_child_elements[9])) self.assertTrue(checkBirthBeforeDeathOfParents( root_child_elements[11])) self.assertTrue(checkBirthBeforeDeathOfParents(root_child_elements[3])) self.assertTrue(checkBirthBeforeDeathOfParents(root_child_elements[6])) self.assertTrue(checkBirthBeforeDeathOfParents( root_child_elements[10]))
def test_family_head(self): self.assertTrue(checkBirthBeforeDeathOfParents(root_child_elements[9]))
def test_great_grand_child(self): self.assertTrue(checkBirthBeforeDeathOfParents( root_child_elements[10]))
def test_first_child(self): self.assertTrue(checkBirthBeforeDeathOfParents(root_child_elements[3]))