mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-31 19:59:01 +01:00
11 lines
291 B
Python
11 lines
291 B
Python
from synapse.synapse_rust import sum_as_string
|
|
|
|
from tests import unittest
|
|
|
|
|
|
class RustTestCase(unittest.TestCase):
|
|
"""Basic tests to ensure that we can call into Rust code."""
|
|
|
|
def test_basic(self) -> None:
|
|
result = sum_as_string(1, 2)
|
|
self.assertEqual("3", result)
|