在Python 中,我们可以使用 unittest 模块编写单元测试。 下面以官方文档的例子进行介绍,该例子对字符串 ... assertTrue('FOO'.isupper()) # 判断值是否为True self.
確定! 回上一頁