2022-10-10 11:08:33 +02:00
|
|
|
import unittest
|
|
|
|
|
|
|
|
from main import is_hello_world
|
|
|
|
|
|
|
|
|
|
|
|
class TestProject(unittest.TestCase):
|
|
|
|
|
|
|
|
def test_when_text_is_hello_world_with_maj_then_work(self):
|
2022-10-10 11:33:35 +02:00
|
|
|
self.assertTrue(is_hello_world("Hello world NOOOO"))
|
2022-10-10 11:08:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
unittest.main()
|