Leon 5 年之前
父節點
當前提交
f0c939e16b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/DivideTest.java

+ 1
- 1
src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/DivideTest.java 查看文件

@@ -44,6 +44,6 @@ public class DivideTest {
44 44
         Double actual = calculator.divide(input1, input2);
45 45
 
46 46
         // then
47
-        Assert.assertEquals(expected, actual, 0);
47
+        Assert.assertEquals(expected, actual, 0.01);
48 48
     }
49 49
 }