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