Exemple #1
0
 def testEmptyMapTypeCorrectYear1(self):
     result = mapGenerator(data, emptyMapType, correctYear1)
     self.assertEqual(result, 'Incorrect mapType')
Exemple #2
0
 def testCorrectMapType1CorrectYear1IncorrectData(self):
     result = mapGenerator(wrongData, correctMapType1, correctYear1)
     self.assertEqual(result, 'Incorrect Data Type')
Exemple #3
0
 def testIncorrectMapTypeCorrectYear1(self):
     result = mapGenerator(data, incorrectMapType, correctYear1)
     self.assertEqual(result, 'Incorrect Data or mapType')
Exemple #4
0
 def testCorrectMapType1EmptyYear(self):
     result = mapGenerator(data, correctMapType1, emptyYear)
     self.assertEqual(result, 'Incorrect Year')
Exemple #5
0
 def testCorrectMapType1CorrectYear6(self):
     result = mapGenerator(data, correctMapType1, correctYear6)
     self.assertEqual(result, 'Success')
Exemple #6
0
 def testEmptyMapTypeEmptyYear1EmptyData(self):
     result = mapGenerator(emptyData, emptyMapType, emptyYear)
     self.assertEqual(result, 'Incorrect Data Type')
Exemple #7
0
 def testCorrectMapType1CorrectYear1IncorrectDataFrame(self):
     result = mapGenerator(emptydf, correctMapType1, correctYear1)
     self.assertEqual(result, 'Incorrect mapType')