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

fix for OpenCV 2.4 (tested using OpenCV 2.4-beta2)

This commit is contained in:
ser1zw 2012-04-22 22:27:58 +09:00
parent ce0f55d038
commit 55f57e7eed
6 changed files with 12 additions and 9 deletions

View file

@ -9,10 +9,10 @@ include OpenCV
class TestOpenCV < OpenCVTestCase
def test_constants
# OpenCV version
assert_equal('2.3.1', CV_VERSION)
assert_equal('2.4.0', CV_VERSION)
assert_equal(2, CV_MAJOR_VERSION)
assert_equal(3, CV_MINOR_VERSION)
assert_equal(1, CV_SUBMINOR_VERSION)
assert_equal(4, CV_MINOR_VERSION)
assert_equal(0, CV_SUBMINOR_VERSION)
# Depths
assert_equal(0, CV_8U)