def test_data_error(self):
     self.assertEqual(good_funny_function(self.data_type_error), None)
 def test_data_none(self):
     with self.assertRaises(ValueError):
         good_funny_function(self.data_none)
 def test_data_too_short(self):
     with self.assertRaises(ValueError):
         good_funny_function(self.data_too_short)
 def test_decrease_3(self):
     self.assertEqual(good_funny_function(self.data_decrease3), 1)
 def test_increase_2(self):
     self.assertEqual(good_funny_function(self.data_increase2), 1)
 def test_not_same_int(self):
     self.assertEqual(good_funny_function(self.data_not_same1), None)
 def test_all_same_str(self):
     self.assertEqual(good_funny_function(self.data_same2), 1)
 def test_all_same_int(self):
     self.assertEqual(good_funny_function(self.data_same1), 1)