📜  测试驱动开发 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:17.249000             🧑  作者: Mango

代码示例1
Write tests. Run the code: it fails. 
because there is no code. Write code. 
Run the tests again: they will pass. Refactor, and re-do.