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:
parent
078e136ddb
commit
cddbc9acca
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue