Test and debugging A designer might try out an algorithm on several typical and atypical inputs and to find the error.In fact,a programmer will normally test a program on numerous inputs,sometimes called test sets,and will gradually rid it of its language errors and most of its logical errors. ■Test是一种合理的获得“正确”程序的方法吗? 口程序是一种人工制品。既然如此,通过实验观察,应该可以得到这个“物体 ”的某些属性 How to“gradually rid it of its errors”? a Debug!Test and debugging ◼ A designer might try out an algorithm on several typical and atypical inputs and to find the error. In fact, a programmer will normally test a program on numerous inputs, sometimes called test sets, and will gradually rid it of its language errors and most of its logical errors. ◼ Test 是一种合理的获得“正确”程序的方法吗? ❑ 程序是一种人工制品。既然如此,通过实验观察,应该可以得到这个“物体 ”的某些属性 ◼ How to “gradually rid it of its errors”? ❑ Debug!