You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
291 B

  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) -> None:
  6. result = sum_as_string(1, 2)
  7. self.assertEqual("3", result)