def testEmptyMapTypeCorrectYear1(self): result = mapGenerator(data, emptyMapType, correctYear1) self.assertEqual(result, 'Incorrect mapType')
def testCorrectMapType1CorrectYear1IncorrectData(self): result = mapGenerator(wrongData, correctMapType1, correctYear1) self.assertEqual(result, 'Incorrect Data Type')
def testIncorrectMapTypeCorrectYear1(self): result = mapGenerator(data, incorrectMapType, correctYear1) self.assertEqual(result, 'Incorrect Data or mapType')
def testCorrectMapType1EmptyYear(self): result = mapGenerator(data, correctMapType1, emptyYear) self.assertEqual(result, 'Incorrect Year')
def testCorrectMapType1CorrectYear6(self): result = mapGenerator(data, correctMapType1, correctYear6) self.assertEqual(result, 'Success')
def testEmptyMapTypeEmptyYear1EmptyData(self): result = mapGenerator(emptyData, emptyMapType, emptyYear) self.assertEqual(result, 'Incorrect Data Type')
def testCorrectMapType1CorrectYear1IncorrectDataFrame(self): result = mapGenerator(emptydf, correctMapType1, correctYear1) self.assertEqual(result, 'Incorrect mapType')