def testReformatNameSomeCaps(self): """ GIVEN: To test reformatting of 'RaJ' and 'sakhAmUru' WHEN: reformatName('RaJ','sakhAmUru') is called THEN: "Raj SAKHAMURU" is returned """ x = moreFunctions.reformatName('RaJ', 'sakhAmUru') self.assertEqual(x, "Raj SAKHAMURU")
def testReformatNameWithNumsAndSpaces(self): """ GIVEN: To test reformatting of '3aj' and ' sak ha m111' WHEN: reformatName('3aj',' sak ha m111') is called THEN: 3aj SAK HA M111 is returned """ x = moreFunctions.reformatName('3aj', ' sak ha m111') self.assertEqual(x, "3aj SAK HA M111")
def testReformatNameLwrCase(self): """ GIVEN: To test reformatting of 'raj' and 'sakhamuru' WHEN: reformatName('raj','sakhamuru') is called THEN: "Raj SAKHAMURU" is returned """ x = moreFunctions.reformatName('raj', 'sakhamuru') self.assertEqual(x, "Raj SAKHAMURU")
def testReformatNameOutputAsInput(self): """ GIVEN: To test reformatting of 'Raj' and 'SAKHAMURU' WHEN: reformatName('Raj','SAKHAMURU') is called THEN: "Raj SAKHAMURU" is returned """ x = moreFunctions.reformatName('Raj', 'SAKHAMURU') self.assertEqual(x, "Raj SAKHAMURU")