Merge pull request #10732 from Riyuzakii:10598
* Introduces error throw for line drawn with THICKNESS=0
This commit is contained in:
committed by
Alexander Alekhin
parent
9698b93d10
commit
ccea0a831a
@@ -876,7 +876,7 @@ public class CoreTest extends OpenCVTestCase {
|
||||
Point point1 = new Point(0, 0);
|
||||
Point point2 = new Point(nPoints, nPoints);
|
||||
|
||||
Imgproc.line(gray0, point1, point2, colorWhite, 0);
|
||||
Imgproc.line(gray0, point1, point2, colorWhite, 1);
|
||||
|
||||
assertTrue(nPoints == Core.countNonZero(gray0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user