1
0

test_rust.py 283 B

1234567891011
  1. from synapse.synapse_rust import sum_as_string
  2. from tests import unittest
  3. class RustTestCase(unittest.TestCase):
  4. """Basic tests to ensure that we can call into Rust code."""
  5. def test_basic(self):
  6. result = sum_as_string(1, 2)
  7. self.assertEqual("3", result)