1import unittest
2
3class TestSimpleOperations(unittest.TestCase):
4 def test_addition(self):
5 self.assertEqual(2 + 2, 4)
6
7 def test_string_upper(self):
8 self.assertEqual('hello'.upper(), 'HELLO')
9
10if __name__ == '__main__':
11 unittest.main()