示例#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]))