mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
modified CvMat#not, and added some tests
This commit is contained in:
parent
24804939a3
commit
c7412ba528
4 changed files with 120 additions and 22 deletions
|
@ -66,7 +66,7 @@ class OpenCVTestCase < Test::Unit::TestCase
|
|||
m
|
||||
end
|
||||
|
||||
def assert_each_cvscalar(actual, delta, &block)
|
||||
def assert_each_cvscalar(actual, delta = 0, &block)
|
||||
raise unless block_given?
|
||||
count = 0
|
||||
actual.height.times { |j|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue