/external/opencv3/modules/features2d/misc/java/test/ |
BruteForceDescriptorMatcherTest.java | 27 DMatch[] truth; field in class:BruteForceDescriptorMatcherTest 88 truth = new DMatch[] { 112 Mat truth = train.clone(); 121 assertMatEqual(truth, descriptors.get(0)); 143 Mat truth = train.clone(); 149 assertMatEqual(truth, descriptors.get(0)); 210 assertArrayDMatchEquals(truth, matches.toArray(), EPS); 222 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS); 232 assertArrayDMatchEquals(truth, matches.toArray(), EPS) [all...] |
BruteForceHammingDescriptorMatcherTest.java | 26 DMatch[] truth; field in class:BruteForceHammingDescriptorMatcherTest 74 truth = new DMatch[] { 96 Mat truth = train.clone(); 105 assertMatEqual(truth, descriptors.get(0)); 127 Mat truth = train.clone(); 133 assertMatEqual(truth, descriptors.get(0)); 172 assertListDMatchEquals(Arrays.asList(truth), matches.toList(), EPS); 184 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS); 194 assertListDMatchEquals(Arrays.asList(truth), matches.toList(), EPS) [all...] |
BruteForceHammingLUTDescriptorMatcherTest.java | 25 DMatch[] truth; field in class:BruteForceHammingLUTDescriptorMatcherTest 73 truth = new DMatch[] { 95 Mat truth = train.clone(); 104 assertMatEqual(truth, descriptors.get(0)); 126 Mat truth = train.clone(); 132 assertMatEqual(truth, descriptors.get(0)); 171 assertArrayDMatchEquals(truth, matches.toArray(), EPS); 183 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS); 199 assertArrayDMatchEquals(truth, matches.toArray(), EPS) [all...] |
BruteForceL1DescriptorMatcherTest.java | 26 DMatch[] truth; field in class:BruteForceL1DescriptorMatcherTest 88 truth = new DMatch[] { 112 Mat truth = train.clone(); 121 assertMatEqual(truth, descriptors.get(0)); 143 Mat truth = train.clone(); 149 assertMatEqual(truth, descriptors.get(0)); 188 assertArrayDMatchEquals(truth, matches.toArray(), EPS); 200 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS); 210 assertArrayDMatchEquals(truth, matches.toArray(), EPS) [all...] |
BruteForceSL2DescriptorMatcherTest.java | 26 DMatch[] truth; field in class:BruteForceSL2DescriptorMatcherTest 93 truth = new DMatch[] { 117 Mat truth = train.clone(); 126 assertMatEqual(truth, descriptors.get(0)); 148 Mat truth = train.clone(); 154 assertMatEqual(truth, descriptors.get(0)); 196 assertArrayDMatchEquals(truth, matches.toArray(), EPS); 208 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS); 218 assertArrayDMatchEquals(truth, matches.toArray(), EPS) [all...] |
FlannBasedDescriptorMatcherTest.java | 101 DMatch[] truth; field in class:FlannBasedDescriptorMatcherTest 161 truth = new DMatch[] { 214 Mat truth = train.clone(); 220 assertMatEqual(truth, descriptors.get(0)); 260 assertArrayDMatchEquals(truth, matches.toArray(), EPS); 273 assertArrayDMatchEquals(truth, matches.toArray(), EPS); 283 assertArrayDMatchEquals(truth, matches.toArray(), EPS); 297 assertListDMatchEquals(Arrays.asList(truth), matches.toList(), EPS);
|
BRIEFDescriptorExtractorTest.java | 47 Mat truth = new Mat(1, 32, CvType.CV_8UC1) { local 56 assertMatEqual(truth, descriptors); 89 String truth = "<?xml version=\"1.0\"?>\n<opencv_storage>\n<descriptorSize>32</descriptorSize>\n</opencv_storage>\n"; local 90 assertEquals(truth, readFile(filename)); 98 String truth = "%YAML:1.0\ndescriptorSize: 32\n"; local 99 assertEquals(truth, readFile(filename));
|
ORBDescriptorExtractorTest.java | 52 Mat truth = new Mat(1, 32, CvType.CV_8UC1) { local 58 assertDescriptorsClose(truth, descriptors, 1); 89 Mat truth = new Mat(1, 32, CvType.CV_8UC1) { local 95 assertDescriptorsClose(truth, descriptors, 1); 103 String truth = "<?xml version=\"1.0\"?>\n<opencv_storage>\n<name>Feature2D.ORB</name>\n<WTA_K>2</WTA_K>\n<edgeThreshold>31</edgeThreshold>\n<firstLevel>0</firstLevel>\n<nFeatures>500</nFeatures>\n<nLevels>8</nLevels>\n<patchSize>31</patchSize>\n<scaleFactor>1.2000000476837158e+00</scaleFactor>\n<scoreType>0</scoreType>\n</opencv_storage>\n"; local 106 assertEquals(truth, actual); 114 String truth = "%YAML:1.0\nname: \"Feature2D.ORB\"\nWTA_K: 2\nedgeThreshold: 31\nfirstLevel: 0\nnFeatures: 500\nnLevels: 8\npatchSize: 31\nscaleFactor: 1.2000000476837158e+00\nscoreType: 0\n"; local 117 assertEquals(truth, actual);
|
SIFTDescriptorExtractorTest.java | 20 Mat truth; field in class:SIFTDescriptorExtractorTest 36 truth = new Mat(1, 128, CvType.CV_32FC1) { 62 assertMatEqual(truth, descriptors, EPS); 90 String truth = "<?xml version=\"1.0\"?>\n<opencv_storage>\n<name>Feature2D.SIFT</name>\n<contrastThreshold>4.0000000000000001e-02</contrastThreshold>\n<edgeThreshold>10.</edgeThreshold>\n<nFeatures>0</nFeatures>\n<nOctaveLayers>3</nOctaveLayers>\n<sigma>1.6000000000000001e+00</sigma>\n</opencv_storage>\n"; local 93 assertEquals(truth, actual); 101 String truth = "%YAML:1.0\nname: \"Feature2D.SIFT\"\ncontrastThreshold: 4.0000000000000001e-02\nedgeThreshold: 10.\nnFeatures: 0\nnOctaveLayers: 3\nsigma: 1.6000000000000001e+00\n"; local 104 assertEquals(truth, actual);
|
SURFDescriptorExtractorTest.java | 52 Mat truth = new Mat(1, 128, CvType.CV_32FC1) { local 72 assertMatEqual(truth, descriptors, EPS); 105 String truth = "<?xml version=\"1.0\"?>\n<opencv_storage>\n<name>Feature2D.SURF</name>\n<extended>1</extended>\n<hessianThreshold>100.</hessianThreshold>\n<nOctaveLayers>2</nOctaveLayers>\n<nOctaves>4</nOctaves>\n<upright>0</upright>\n</opencv_storage>\n"; local 106 assertEquals(truth, readFile(filename)); 114 String truth = "%YAML:1.0\nname: \"Feature2D.SURF\"\nextended: 1\nhessianThreshold: 100.\nnOctaveLayers: 2\nnOctaves: 4\nupright: 0\n"; local 115 assertEquals(truth, readFile(filename));
|
FASTFeatureDetectorTest.java | 20 KeyPoint[] truth; field in class:FASTFeatureDetectorTest 39 truth = new KeyPoint[] { new KeyPoint(32, 27, 7, -1, 254, 0, -1), new KeyPoint(27, 32, 7, -1, 254, 0, -1), new KeyPoint(73, 68, 7, -1, 254, 0, -1), 61 assertListKeyPointEquals(Arrays.asList(truth), keypoints.toList(), EPS); 75 assertListKeyPointEquals(Arrays.asList(truth[0], truth[1]), keypoints.toList(), EPS); 129 String truth = "<?xml version=\"1.0\"?>\n<opencv_storage>\n<name>Feature2D.FAST</name>\n<nonmaxSuppression>1</nonmaxSuppression>\n<threshold>10</threshold>\n<type>2</type>\n</opencv_storage>\n"; local 132 assertEquals(truth, data); 140 String truth = "%YAML:1.0\nname: \"Feature2D.FAST\"\nnonmaxSuppression: 1\nthreshold: 10\ntype: 2\n"; local 144 assertEquals(truth, data);
|
STARFeatureDetectorTest.java | 21 KeyPoint[] truth; field in class:STARFeatureDetectorTest 49 truth = new KeyPoint[] { 80 assertListKeyPointEquals(Arrays.asList(truth), keypoints.toList(), EPS); 90 assertListKeyPointEquals(Arrays.asList(truth[0], truth[2], truth[5], truth[7]), keypoints.toList(), EPS); 118 String truth = "<?xml version=\"1.0\"?>\n<opencv_storage>\n<name>Feature2D.STAR</name>\n<lineThresholdBinarized>8</lineThresholdBinarized>\n<lineThresholdProjected>10</lineThresholdProjected>\n<maxSize>45</maxSize>\n<responseThreshold>30</responseThreshold>\n<suppressNonmaxSize>5</suppressNonmaxSize>\n</opencv_storage>\n"; local 119 assertEquals(truth, readFile(filename)); 127 String truth = "%YAML:1.0\nname: \"Feature2D.STAR\"\nlineThresholdBinarized: 8\nlineThresholdProjected: 10\nmax (…) local [all...] |
SURFFeatureDetectorTest.java | 25 KeyPoint[] truth; field in class:SURFFeatureDetectorTest 59 truth = new KeyPoint[] { 90 assertListKeyPointEquals(Arrays.asList(truth), lkp, EPS); 110 assertListKeyPointEquals(Arrays.asList(truth), lkp, EPS); 126 assertListKeyPointEquals(Arrays.asList(truth[1], truth[2]), lkp, EPS); 154 String truth = "<?xml version=\"1.0\"?>\n<opencv_storage>\n<name>Feature2D.SURF</name>\n<extended>0</extended>\n<hessianThreshold>100.</hessianThreshold>\n<nOctaveLayers>3</nOctaveLayers>\n<nOctaves>4</nOctaves>\n<upright>0</upright>\n</opencv_storage>\n"; local 155 assertEquals(truth, readFile(filename)); 163 String truth = "%YAML:1.0\nname: \"Feature2D.SURF\"\nextended: 0\nhessianThreshold: 100.\nnOctaveLayers: 3\nnOctaves: 4\nupright: 0\n"; local 164 assertEquals(truth, readFile(filename)) [all...] |
/prebuilts/tools/common/m2/repository/com/google/truth/truth/0.28/ |
truth-0.28.jar | |
/prebuilts/tools/common/m2/repository/com/google/truth/truth/0.24/ |
truth-0.24.jar | |
/prebuilts/tools/common/m2/repository/com/google/truth/truth/0.26/ |
truth-0.26.jar | |
/external/opencv3/modules/core/misc/java/test/ |
Point3Test.java | 21 Point3 truth = new Point3(1, 1, 1); local 22 p1 = truth.clone(); 23 assertEquals(truth, p1); 28 Point3 truth = new Point3(0, 0, 0); local 29 assertEquals(truth, dstPoint);
|
PointTest.java | 21 Point truth = new Point(1, 1); local 22 Point dstPoint = truth.clone(); 23 assertEquals(truth, dstPoint);
|
ScalarTest.java | 23 Scalar truth = new Scalar(2.0, 2.0, 2.0, 2.0); local 24 assertEquals(truth, dstScalar); 34 Scalar truth = new Scalar(1, -1, -1, -1); local 35 assertEquals(truth, dstScalar); 63 Scalar truth = new Scalar(2); local 64 assertEquals(truth, dstScalar); 68 Scalar truth = new Scalar(1); local 69 assertEquals(truth, s1); 76 Scalar truth = new Scalar(2.0, 4.0, 5.0, 3.0); local 77 assertEquals(truth, dstScalar) 82 Scalar truth = new Scalar(2.0, 5.0, 0.0, 0.0); local 88 Scalar truth = new Scalar(2.0, 5.0, 5.0, 0.0); local 94 Scalar truth = new Scalar(2.0, 5.0, 5.0, 9.0); local [all...] |
RectTest.java | 30 Point truth = new Point(10, 10); local 31 assertEquals(truth, p_br); 153 Point truth = new Point(0, 0); local 154 assertEquals(truth, p_tl);
|
/external/opencv3/modules/java/common_test/src/org/opencv/test/utils/ |
ConvertersTest.java | 25 List<Byte> truth = new ArrayList<Byte>(); local 29 truth.add(new Byte(value1)); 30 truth.add(new Byte(value2)); 31 truth.add(new Byte(value3)); 32 assertEquals(truth, bs); 42 List<DMatch> truth = new ArrayList<DMatch>(); local 43 truth.add(new DMatch(1, 4, 4, 10)); 44 truth.add(new DMatch(2, 3, 5, 6)); 45 truth.add(new DMatch(3, 1, 8, 12)); 46 truth.add(new DMatch(4, 9, 5, 15)) 58 List<Float> truth = new ArrayList<Float>(); local 72 List<Integer> truth = new ArrayList<Integer>(); local 87 List<KeyPoint> truth = new ArrayList<KeyPoint>(); local 115 List<Point> truth = new ArrayList<Point>(); local 130 List<Point> truth = new ArrayList<Point>(); local 145 List<Point> truth = new ArrayList<Point>(); local 160 List<Point3> truth = new ArrayList<Point3>(); local 175 List<Point3> truth = new ArrayList<Point3>(); local 190 List<Point3> truth = new ArrayList<Point3>(); local 205 List<Point3> truth = new ArrayList<Point3>(); local 219 List<Rect> truth = new ArrayList<Rect>(); local 232 List<Byte> truth = new ArrayList<Byte>(); local 285 Mat truth = new Mat(4, 1, CvType.CV_64FC4); local 335 Mat truth = new Mat(1, 1, CvType.CV_64FC(7)); local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
BackupDataTest.java | 175 BufferedReader truth = new BufferedReader(new InputStreamReader( local 178 String[] expected = truth.readLine().split(":"); 196 assertNull("there are unused entries in the golden file", truth.readLine()); 204 BufferedReader truth = new BufferedReader(new InputStreamReader( local 208 String[] expected = truth.readLine().split(":"); 226 assertNull("there are unused entries in the golden file", truth.readLine());
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_numbers.py | 74 from operator import truth namespace 76 self.assertEqual(t(v).value, truth(v))
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_numbers.py | 74 from operator import truth namespace 76 self.assertEqual(t(v).value, truth(v))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_numbers.py | 74 from operator import truth namespace 76 self.assertEqual(t(v).value, truth(v))
|