This commit is contained in:
Andras Schmelczer 2022-07-04 15:45:46 +02:00
parent 3cc8fd6a4c
commit 8e95efb54e

View file

@ -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}!"