作为一个简单的示例,我试着使用两款知名的测试生成工具来为保龄球游戏程序生成测试代码。
As a simple example of this, I have tried to generate tests for the bowling game program using two of the better known test generation tools. The interface to the bowling game looks like this.
保龄球是一项沿木制球道滚动一个重球的游戏。
Bowling is a game played by rolling a heavy ball down a wooden lane.
北京也有在一个地板上有着一百个保龄球道的保龄球游戏球场,是世界上最大的球场之一。
Beijing also has a bowling alley with 100 bowling lanes on one floor, one of the largest in the world.
应用推荐