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