[Bf-blender-cvs] [cebff2ff30f] master: Fix a syntax error in test spec for BLI_delaunay_2d_test.

Howard Trickey noreply at git.blender.org
Sun Mar 15 22:16:03 CET 2020


Commit: cebff2ff30f56beb2173d4502a9b89e1167ed4fc
Author: Howard Trickey
Date:   Sun Mar 15 17:14:04 2020 -0400
Branches: master
https://developer.blender.org/rBcebff2ff30f56beb2173d4502a9b89e1167ed4fc

Fix a syntax error in test spec for BLI_delaunay_2d_test.

Test specs are read from strings, and there was a comma instead
of a decimal point, and then an extra decimal point in the Quad0 test.
This test has been flaky on Windows buildbot. Perhaps this is why.

===================================================================

M	tests/gtests/blenlib/BLI_delaunay_2d_test.cc

===================================================================

diff --git a/tests/gtests/blenlib/BLI_delaunay_2d_test.cc b/tests/gtests/blenlib/BLI_delaunay_2d_test.cc
index 40b607fa807..79e47211049 100644
--- a/tests/gtests/blenlib/BLI_delaunay_2d_test.cc
+++ b/tests/gtests/blenlib/BLI_delaunay_2d_test.cc
@@ -489,7 +489,7 @@ TEST(delaunay, Quad0)
   int e_diag_out;
   const char *spec = R"(4 0 0
   0.0 1.0
-  1,0. 0.0
+  1.0 0.0
   2.0 0.1
   2.25 0.5
   )";



More information about the Bf-blender-cvs mailing list