From dd2dfa79800b1c4a5123112c377de1825572f7b7 Mon Sep 17 00:00:00 2001 From: nkozobrod Date: Sun, 7 Jun 2026 12:15:22 +0000 Subject: [PATCH] Add project structure and hello_world function --- src/__init__.py | 0 src/main.py | 2 ++ tests/__init__.py | 0 tests/test_main.py | 5 +++++ 4 files changed, 7 insertions(+) create mode 100644 src/__init__.py create mode 100644 src/main.py create mode 100644 tests/__init__.py create mode 100644 tests/test_main.py diff --git a/src/__init__.py b/src/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/main.py b/src/main.py new file mode 100644 index 0000000..8760a9a --- /dev/null +++ b/src/main.py @@ -0,0 +1,2 @@ +def hello_world() -> str: + return "Hello, World!" \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_main.py b/tests/test_main.py new file mode 100644 index 0000000..cd0552b --- /dev/null +++ b/tests/test_main.py @@ -0,0 +1,5 @@ +from src.main import hello_world + + +def test_hello_world(): + assert hello_world() == "Hello, World!" \ No newline at end of file