mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
update OpenCV version
This commit is contained in:
parent
263a7d855e
commit
3f5b69ce39
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
An OpenCV wrapper for Ruby.
|
||||
|
||||
* Web site: <https://github.com/ruby-opencv/ruby-opencv>
|
||||
* Ruby 1.9.3, 2.x and OpenCV 2.4.10 are supported.
|
||||
* Ruby 1.9.3, 2.x and OpenCV 2.4.12 are supported.
|
||||
|
||||
## Requirement
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ include OpenCV
|
|||
class TestOpenCV < OpenCVTestCase
|
||||
def test_constants
|
||||
# OpenCV version
|
||||
assert_equal('2.4.10', CV_VERSION)
|
||||
assert_equal('2.4.12', CV_VERSION)
|
||||
assert_equal(2, CV_MAJOR_VERSION)
|
||||
assert_equal(4, CV_MINOR_VERSION)
|
||||
assert_equal(10, CV_SUBMINOR_VERSION)
|
||||
assert_equal(12, CV_SUBMINOR_VERSION)
|
||||
|
||||
assert_equal(2, CV_VERSION_EPOCH)
|
||||
assert_equal(4, CV_VERSION_MAJOR)
|
||||
assert_equal(10, CV_VERSION_MINOR)
|
||||
assert_equal(12, CV_VERSION_MINOR)
|
||||
assert_equal(0, CV_VERSION_REVISION)
|
||||
|
||||
# Depths
|
||||
|
|
Loading…
Reference in a new issue