The first param can be omit, it will be displayed if the test is failed.
assertEqual(message,target, value);
assertEquals
最新推荐文章于 2025-06-18 10:01:45 发布
博客介绍了assertEqual函数的使用,指出其第一个参数可省略,若测试失败该参数内容会显示,还给出了函数调用示例assertEqual(message,target, value)。
1048

被折叠的 条评论
为什么被折叠?



