To answer this question, all we need to do is press on run
and you'll see that now we only require four tests.
You see how delta debugging splits the list, quickly finds a sub-list that is just two elements,
checks each of them and finds the one element that causes the test to fail.
The correct answer here was 4.
実際に実行すれば答えが分かります
4回のテストが必要だということが分かりました
差分デバッグがリストを分け
サブストリングを見つけていることが確認できます
リスト内の1つの要素が原因で
テストが失敗していることを見つけていますね
正解は4回でした
为了回答这个问题,我们需要的就是点击"run",
你就会看到,现在我们只需要4次测试。
你看到delta调试如何分割序列,快速地找到子集并只含有两个元素,
逐个地进行检查,找出导致测试失败的那个元素。
所以答案就是4.