Example #1
0
 def test_eighth(self):
     p = Person('a')
     self.assertEqual("Invalid Input", p.process_input(10, 0, 'divide'))
Example #2
0
 def test_sixth(self):
     p = Person('abc')
     self.assertEqual(200, p.process_input(100, 100, 'add'))
Example #3
0
 def test_seventh(self):
     p = Person('abc')
     self.assertEqual(210, p.process_input(10, 200, 'add'))
Example #4
0
 def test_fifth(self):
     p = Person('abc')
     self.assertEqual(120, p.process_input(100, 20, 'add'))
Example #5
0
 def test_fourth(self):
     p = Person('abc')
     self.assertEqual(30, p.process_input(50, 20, 'subtract'))
Example #6
0
 def test_third(self):
     p = Person('abc')
     self.assertEqual(5, p.process_input(100, 20, 'divide'))
Example #7
0
 def test_sec(self):
     p = Person('abc')
     self.assertEqual(30, p.process_input(10, 20, 'add'))
Example #8
0
 def test_first(self):
     p = Person('abc')
     self.assertEqual(100, p.process_input(10, 10, 'multiple'))