在结束此话题之前,我可以举一个有关前置和后置条件的简单例子:一个例程要计算一个实数的平方根。
Before moving on I can describe a very simple example of pre - and post-conditions: a routine that computes the square root of a real number.
在结束此话题之前,我可以举一个有关前置和后置条件的简单例子:一个例程要计算一个实数的平方根。
Before moving on I can describe a very simple example of pre - and post-conditions: a routine that computes the square root of a real number.
应用推荐