大家好,又见面了,我是你们的朋友全栈君。
从网上下载的视频,看着视频做。居然和人家的不一样。
assertEquals(double expected,double actul) 被废弃了,换成assertEquals(double expected,double actul,double delta)
也就是在原来的方法上加一个误差值(double类型)
官方解释为:
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/158210.html原文链接:https://javaforall.cn