1 | initial version |
This is what I got with Visual Studio 2013:
[ RUN ] Core_InputOutput.FileStorage_DMatch
C:\opencv\modules\core\test\test_io.cpp(1117): error: Expected: fs_result.c_str()
Which is: "%YAML:1.0\n---\nd: [ 1, 2, 3, -1.5000000000000000e+000 ]\n"
To be equal to: "%YAML:1.0\n---\nd: [ 1, 2, 3, -1.5000000000000000e+00 ]\n"
With diff:
@@ -1,3 +1,3 @@
%YAML:1.0
---
-d: [ 1, 2, 3, -1.5000000000000000e+000 ]\n
+d: [ 1, 2, 3, -1.5000000000000000e+00 ]\n
[ FAILED ] Core_InputOutput.FileStorage_DMatch (1 ms)
[ RUN ] Core_InputOutput.FileStorage_DMatch_vector
C:\opencv\modules\core\test\test_io.cpp(1158): error: Expected: fs_result.c_str()
Which is: "%YAML:1.0\n---\ndv: [ 1, 2, 3, -1.5000000000000000e+000, 2, 3, 4,\n 1.5000000000000000e+000, 3, 2, 1, 5.0000000000000000e-001 ]\n"
To be equal to: "%YAML:1.0\n" "---\n" "dv: [ 1, 2, 3, -1.5000000000000000e+00, 2, 3, 4, 1.5000000000000000e+00,\n" " 3, 2, 1, 5.0000000000000000e-01 ]\n"
Which is: "%YAML:1.0\n---\ndv: [ 1, 2, 3, -1.5000000000000000e+00, 2, 3, 4, 1.5000000000000000e+00,\n 3, 2, 1, 5.0000000000000000e-01 ]\n"
With diff:
@@ -1,4 +1,4 @@
%YAML:1.0
---
-dv: [ 1, 2, 3, -1.5000000000000000e+000, 2, 3, 4,
- 1.5000000000000000e+000, 3, 2, 1, 5.0000000000000000e-001 ]\n
+dv: [ 1, 2, 3, -1.5000000000000000e+00, 2, 3, 4, 1.5000000000000000e+00,
+ 3, 2, 1, 5.0000000000000000e-01 ]\n
[ FAILED ] Core_InputOutput.FileStorage_DMatch_vector (0 ms)
[ RUN ] Core_InputOutput.FileStorage_DMatch_vector_vector
C:\opencv\modules\core\test\test_io.cpp(1216): error: Expected: fs_result.c_str()
Which is: "%YAML:1.0\n---\ndvv:\n - [ 1, 2, 3, -1.5000000000000000e+000, 2, 3, 4,\n 1.5000000000000000e+000, 3, 2, 1, 5.0000000000000000e-001 ]\n - [ 3, 2, 1, 5.0000000000000000e-001, 1, 2, 3,\n -1.5000000000000000e+000 ]\n"
To be equal to: "%YAML:1.0\n" "---\n" "dvv:\n" " - [ 1, 2, 3, -1.5000000000000000e+00, 2, 3, 4, 1.5000000000000000e+00,\n" " 3, 2, 1, 5.0000000000000000e-01 ]\n" " - [ 3, 2, 1, 5.0000000000000000e-01, 1, 2, 3, -1.5000000000000000e+00 ]\n"
Which is: "%YAML:1.0\n---\ndvv:\n - [ 1, 2, 3, -1.5000000000000000e+00, 2, 3, 4, 1.5000000000000000e+00,\n 3, 2, 1, 5.0000000000000000e-01 ]\n - [ 3, 2, 1, 5.0000000000000000e-01, 1, 2, 3, -1.5000000000000000e+00 ]\n"
With diff:
@@ -2,6 +2,5 @@
---
dvv:
- - [ 1, 2, 3, -1.5000000000000000e+000, 2, 3, 4,
- 1.5000000000000000e+000, 3, 2, 1, 5.0000000000000000e-001 ]
- - [ 3, 2, 1, 5.0000000000000000e-001, 1, 2, 3,
- -1.5000000000000000e+000 ]\n
+ - [ 1, 2, 3, -1.5000000000000000e+00, 2, 3, 4, 1.5000000000000000e+00,
+ 3, 2, 1, 5.0000000000000000e-01 ]
+ - [ 3, 2, 1, 5.0000000000000000e-01, 1, 2, 3, -1.5000000000000000e+00 ]\n
[ FAILED ] Core_InputOutput.FileStorage_DMatch_vector_vector (1 ms)
Looks like it is only since Visual Studio 2015 the exponent is printed correctly: