1
0
Fork 0
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:
ser1zw 2011-01-03 14:21:38 +09:00
parent 24804939a3
commit c7412ba528
4 changed files with 120 additions and 22 deletions

View file

@ -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|