跳到主要内容
0

本课内容目前为英文。

Let the computer be creative

Example tests check the inputs you thought of. A property-based test states a rule that must hold for every input, then lets the computer invent hundreds of inputs to try to break it. When it succeeds, it shrinks the failure to the smallest example a human can read.