2015-04-25 19:32:04 +02:00
|
|
|
import unittest
|
|
|
|
|
|
|
|
|
|
import hello_world
|
|
|
|
|
|
|
|
|
|
|
2017-10-14 12:31:08 +01:00
|
|
|
# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0
|
2015-11-17 16:11:53 +00:00
|
|
|
|
2017-03-16 09:03:53 +01:00
|
|
|
class HelloWorldTests(unittest.TestCase):
|
|
|
|
|
def test_hello(self):
|
2017-03-23 13:37:20 +01:00
|
|
|
self.assertEqual(hello_world.hello(), 'Hello, World!')
|
2016-09-28 08:07:42 -03:00
|
|
|
|
|
|
|
|
|
2015-04-25 19:32:04 +02:00
|
|
|
if __name__ == '__main__':
|
|
|
|
|
unittest.main()
|