摘要: 完成一个基本的 JUnit 测试实例。 在IntelliJ IDEA环境下使用JUnit对Calculator类进行单元测试 1) 创建Caculator类和CalculatorTest类并导入依赖 2) 运行测试,选择"Run 'CalculatorTest'" 查看运行结果,测试已通过 使用JU 阅读全文
posted @ 2025-03-28 23:49 涨涨涨张 阅读(15) 评论(0) 推荐(0)