Logo
Explore Help
Register Sign In
exercism/python
1
0
Fork 0
You've already forked python
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
2faa00cfaf40c1b2610cb724164db02e34952b84
python/exercises/hello-world/hello_world_test.py

15 lines
294 B
Python
Raw Normal View History

added a hello-world example
2015-04-25 19:32:04 +02:00
import unittest
import hello_world
hello-world: Simplify to unconditional "Hello, World!" (#432) As discussed in https://github.com/exercism/x-common/issues/520 closes #430
2017-03-16 09:03:53 +01:00
# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0
Fix Hello World test class name & update test Fix test class name to reflect exercise name. Update tests to reflect Hello World metadata in x-common.
2015-11-17 16:11:53 +00:00
hello-world: Simplify to unconditional "Hello, World!" (#432) As discussed in https://github.com/exercism/x-common/issues/520 closes #430
2017-03-16 09:03:53 +01:00
class HelloWorldTests(unittest.TestCase):
def test_hello(self):
Refactor assertEqual(actual,expected) param order closes #440
2017-03-23 13:37:20 +01:00
self.assertEqual(hello_world.hello(), 'Hello, World!')
hello-world: Add two new test functions to test blank and none names (#362) * hello-world: Add two new test functions to test blank and none names * binary-search: Add to exercises key in config
2016-09-28 08:07:42 -03:00
added a hello-world example
2015-04-25 19:32:04 +02:00
if __name__ == '__main__':
unittest.main()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 199ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API