From 8e95efb54ed128004bbd7b7d5459ef3200d0585d Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Mon, 4 Jul 2022 15:45:46 +0200 Subject: [PATCH] Add test --- tests/great_ai/test_basic_starters.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/great_ai/test_basic_starters.py b/tests/great_ai/test_basic_starters.py index c5c77b2..817d28e 100644 --- a/tests/great_ai/test_basic_starters.py +++ b/tests/great_ai/test_basic_starters.py @@ -19,6 +19,12 @@ class TestHumanReadableToByte(unittest.TestCase): assert hello_world("andras").output == "Hello andras!" + @GreatAI.create + def hello_world(name): + return f"Hello {name}!" + + assert hello_world("andras").output == "Hello andras!" + @GreatAI.create() def hello_world(name: str) -> str: return f"Hello {name}!"