提交 88110c3a 编写于 作者: C Cyrus Najmabadi

Add asserts.

上级 474c9f7b
......@@ -421,6 +421,11 @@ private static int GetValue(Dictionary<char, int> da, char c)
private static int Min(int v1, int v2, int v3, int v4)
{
Debug.Assert(v1 >= 0);
Debug.Assert(v2 >= 0);
Debug.Assert(v3 >= 0);
Debug.Assert(v4 >= 0);
var min = v1;
if (v2 < min)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册