Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
给
PinyinMulti
添加了一些单元测试,然后添加了一些集成测试。集成测试的结果目前都是自动生成的,没有仔细校对,主要目的在于捕获regression。
集成测试中用作数据的三个文件分别是
选用这三篇的原因是首先它们在全世界范围内都是公有领域的作品,其次这三篇的拼音使用覆盖了所有韵母。具体检测方法可以参考新加的
coverage-check
这个crate的代码及运行: