MCPcopy Create free account
hub / github.com/apache/arrow / test_equal_approx

Method test_equal_approx

c_glib/test/test-array.rb:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 end
25
26 def test_equal_approx
27 array1 = build_double_array([1.1, 2.2 + Float::EPSILON * 10])
28 array2 = build_double_array([1.1, 2.2])
29 assert do
30 array1.equal_approx(array2)
31 end
32 end
33
34 def test_equal_range
35 array1 = build_int32_array([1, 2, 3, 4, 5])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected