Skip to content

Commit 03966b5

Browse files
committed
make in delta consistent
1 parent 2321865 commit 03966b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/deglut_spec_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_cos_sin
2020
(-720..720).step(1) do |deg|
2121
sine = DegLut.sin(deg)
2222
deg_sin = Math.sin(deg * to_radian)
23-
assert_in_delta(sine, deg_sin)
23+
assert_in_delta(sine, deg_sin, delta = 0.000001)
2424
cosine = DegLut.cos(deg)
2525
deg_cos = Math.cos(deg * to_radian)
2626
assert_in_delta(cosine, deg_cos, delta = 0.000001)

0 commit comments

Comments
 (0)