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:
parent
ce0f55d038
commit
55f57e7eed
6 changed files with 12 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue