Ejemplo n.º 1
0
 def test_004_NoInputParams(self):
     """ bindGraphsByValuesTest_004_NoInputParams: Tests case where input defaults are taken """
     self.assertEqual(xayacore.bindGraphsByValues(), {})
Ejemplo n.º 2
0
 def test_001_NormalCase(self):
         """ bindGraphsByValuesTest_001_NormalCase: Tests NormalCase where a filtered version of childgraph is returned based on key:value parent criteria"""
         self.assertEqual(xayacore.bindGraphsByValues(self.graphMeasures,'datTrees_X001.txt','TreeSpp',self.graphTreeData), {'1': 'Fd', '3': 'At', '2': 'Pl', '5': 'Fd', '4': 'At'})