Johan B.W. de Vries 581a73e5df Ideas [skip-ci]
2025-04-13 13:56:04 +02:00

17 lines
289 B
Python

import pytest
from ..helpers import Suite
@pytest.mark.integration_test
def test_bytes_length():
code_py = """
@exported
def testEntry(f: bytes) -> u32:
return len(f)
"""
result = Suite(code_py).run_code(b'This yet is another test')
assert 24 == result.returned_value