Skip to content

Commit

Permalink
feat(test): #16 add test_nested_func
Browse files Browse the repository at this point in the history
  • Loading branch information
rohaquinlop committed Mar 4, 2024
1 parent 7c857cd commit 4e10fd9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_nested_func.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
def hello_world(s: str) -> str:
ans = ""

def nested_func(s: str) -> str:
if s == "complexipy":
return "complexipy is awesome!"
return f"I don't know what to say, hello {s}(?)"

ans = nested_func(s)

return ans

0 comments on commit 4e10fd9

Please sign in to comment.