📄 readme.txt
字号:
将该文件夹中的m文件拷贝到自己编写的rs编解码m代码所在的目录,
然后执行RsCodingUnitTest.m即可。正确的代码将会输出入下信息:
Begin unit test of RS co-/de-code and related modular, result will be reported at the end
+++++++++++++++++ [PASSED] Symbol Add modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Symbol Sub modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Symbol Mul modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Symbol Div modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Symbol Rev modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Poly Add modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Poly Sub modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Poly Mul modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] RS encode modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Syndrome Calculation modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Error Position Poly Calculation modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Sigma during iteration test ++++++++++++++++++
+++++++++++++++++ [PASSED] Root of Error Position Poly Calculation modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Error Value Calculation modular test ++++++++++++++++++
+++++++++++++++++ [PASSED] Error Position Calculation modular test ++++++++++++++++++
[Unit Test Report] Conduct 13 unit tests, 15 succeeded, 0 failed.
如果看到上述代码,那么恭喜你,你已经顺利通关了!
如果不是0 failed,将会打印出未通过审查的模块,请不要灰心,再接再厉!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -