1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

small fix

This commit is contained in:
ser1zw 2016-04-03 07:38:04 +09:00
parent 078e136ddb
commit cddbc9acca

View file

@ -53,7 +53,7 @@ class TestScalar < OpenCVTestCase
def test_to_ary
[[10, 20, 30, 40], [0.1, 0.2, 0.3, 0.4]].each { |a|
s = Scalar.new(*a)
x = s.to_a # Alias
x = s.to_a
assert_equal(Array, x.class)
assert_in_delta(a, x, 0.01)
}