예제 #1
0
 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]))
예제 #2
0
 def test_family_head(self):
     self.assertTrue(checkBirthBeforeDeathOfParents(root_child_elements[9]))
예제 #3
0
 def test_great_grand_child(self):
     self.assertTrue(checkBirthBeforeDeathOfParents(
         root_child_elements[10]))
예제 #4
0
 def test_first_child(self):
     self.assertTrue(checkBirthBeforeDeathOfParents(root_child_elements[3]))