feat: 实验性 SM-15M 算法实现
实验性 SM-15M 逆向工程算法实现
This commit is contained in:
@@ -94,7 +94,7 @@ class TestSM2Algorithm(unittest.TestCase):
|
||||
SM2Algorithm.revisor(algodata, feedback=5, is_new_activation=True)
|
||||
self.assertEqual(algodata[SM2Algorithm.algo_name]["rept"], 0)
|
||||
self.assertEqual(algodata[SM2Algorithm.algo_name]["efactor"], 2.5)
|
||||
# interval 应为 1(因为 rept=0)
|
||||
# interval 应为 1(因为 rept=0)
|
||||
self.assertEqual(algodata[SM2Algorithm.algo_name]["interval"], 1)
|
||||
|
||||
def test_revisor_efactor_calculation(self):
|
||||
|
||||
Reference in New Issue
Block a user