-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
OpenCV2_Cookbook/src/test/java/opencv2_cookbook/ImreadTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright (c) 2011-2014 Jarek Sacha. All Rights Reserved. | ||
* | ||
* Author's e-mail: jpsacha at gmail.com | ||
*/ | ||
|
||
package opencv2_cookbook; | ||
|
||
import org.junit.Test; | ||
|
||
import static org.bytedeco.javacpp.opencv_core.Mat; | ||
import static org.bytedeco.javacpp.opencv_highgui.imread; | ||
import static org.junit.Assert.assertNotNull; | ||
|
||
public class ImreadTest { | ||
|
||
@Test | ||
public void readMat() { | ||
final Mat image = imread("data/church01.jpg"); | ||
assertNotNull(image); | ||
} | ||
} |