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