Add test
This commit is contained in:
parent
3cc8fd6a4c
commit
8e95efb54e
1 changed files with 6 additions and 0 deletions
|
|
@ -19,6 +19,12 @@ class TestHumanReadableToByte(unittest.TestCase):
|
||||||
|
|
||||||
assert hello_world("andras").output == "Hello andras!"
|
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()
|
@GreatAI.create()
|
||||||
def hello_world(name: str) -> str:
|
def hello_world(name: str) -> str:
|
||||||
return f"Hello {name}!"
|
return f"Hello {name}!"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue