feat: 进一步改进

This commit is contained in:
2025-12-31 00:57:07 +08:00
parent b65dad6a1f
commit eaa38fb880
43 changed files with 251 additions and 528 deletions

View File

@@ -174,7 +174,7 @@ class TestSM2Algorithm(unittest.TestCase):
def test_rate(self):
"""测试 rate 方法"""
algodata = {SM2Algorithm.algo_name: {"efactor": 2.7}}
self.assertEqual(SM2Algorithm.rate(algodata), "2.7")
self.assertEqual(SM2Algorithm.get_rating(algodata), "2.7")
def test_nextdate(self):
"""测试 nextdate 方法"""