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

modified and tested CvTermCriteria

This commit is contained in:
ser1zw 2011-02-26 14:54:50 +09:00
parent 615fd63e0c
commit 493644a55a
5 changed files with 84 additions and 18 deletions

View file

@ -66,6 +66,10 @@ class TestOpenCV < OpenCVTestCase
assert_equal(4, CV_CHAIN_APPROX_TC89_KCOS)
assert_equal(5, CV_LINK_RUNS)
# Termination criteria for iterative algorithms
assert_equal(1, CV_TERMCRIT_ITER)
assert_equal(1, CV_TERMCRIT_NUMBER)
assert_equal(2, CV_TERMCRIT_EPS)
end
def test_symbols