您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

12 行
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)