summary refs log tree commit diff stats
path: root/python/hello-world/hello_world_test.py
blob: 82dc88ef3cbed836eb9ada67168ad44d0949aad7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import unittest

from hello_world import hello

# Tests adapted from `problem-specifications//canonical-data.json`


class HelloWorldTest(unittest.TestCase):
    def test_say_hi(self):
        self.assertEqual(hello(), "Hello, World!")


if __name__ == "__main__":
    unittest.main()