mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
wrong function
This commit is contained in:
parent
74f89f3582
commit
b1ce0d9554
1 changed files with 2 additions and 2 deletions
|
@ -58,11 +58,11 @@ class TestLBPH < OpenCVTestCase
|
||||||
assert_nil(@lbph_update.update([@images[1]], [@labels[1]]))
|
assert_nil(@lbph_update.update([@images[1]], [@labels[1]]))
|
||||||
|
|
||||||
assert_raise(TypeError) {
|
assert_raise(TypeError) {
|
||||||
@lbph_update.train(DUMMY_OBJ, @labels)
|
@lbph_update.update(DUMMY_OBJ, @labels)
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_raise(TypeError) {
|
assert_raise(TypeError) {
|
||||||
@lbph_update.train(@images, DUMMY_OBJ)
|
@lbph_update.update(@images, DUMMY_OBJ)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue