14 lines
248 B
Python
14 lines
248 B
Python
from .helpers import Suite
|
|
|
|
def test_return():
|
|
code_py = """
|
|
@exported
|
|
def testEntry() -> i32:
|
|
return 13
|
|
"""
|
|
|
|
result = Suite(code_py, 'test_fib').run_code()
|
|
|
|
assert 13 is result.returned_value
|
|
assert [] == result.log_int32_list
|