File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
modules/xfeatures2d/misc/java/test Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public void testWriteYml() {
60
60
61
61
detector .write (filename );
62
62
63
- String truth = "%YAML:1.0\n ---\n name: \" Feature2D.MSD\" \n patch_radius: 3\n search_area_radius: 5\n nms_radius: 5\n nms_scale_radius: 0\n th_saliency: 250.\n kNN: 4\n scale_factor: 1.2500000000000000e+00 \n n_scales: -1\n compute_orientation: 0\n " ;
63
+ String truth = "%YAML:1.0\n ---\n name: \" Feature2D.MSD\" \n patch_radius: 3\n search_area_radius: 5\n nms_radius: 5\n nms_scale_radius: 0\n th_saliency: 250.\n kNN: 4\n scale_factor: 1.25 \n n_scales: -1\n compute_orientation: 0\n " ;
64
64
String actual = readFile (filename );
65
65
actual = actual .replaceAll ("e([+-])0(\\ d\\ d)" , "e$1$2" ); // NOTE: workaround for different platforms double representation
66
66
assertEquals (truth , actual );
You can’t perform that action at this time.
0 commit comments