Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-10-10 02:25:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-10 02:29:50 +0300
commitdc2cd2d0dcfdc2e10ccd1f06039390b6293e46ef (patch)
treeff83bb5a1175d3f8afc495825b34c557065035e2 /tests
parentf61a8a2abd07ee879f9bc860230e0dd3e6ee6a0c (diff)
Cleanup: clang-format, spelling
Diffstat (limited to 'tests')
-rw-r--r--tests/gtests/blenlib/BLI_delaunay_2d_test.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/gtests/blenlib/BLI_delaunay_2d_test.cc b/tests/gtests/blenlib/BLI_delaunay_2d_test.cc
index b62ad50c870..8b29128eb0d 100644
--- a/tests/gtests/blenlib/BLI_delaunay_2d_test.cc
+++ b/tests/gtests/blenlib/BLI_delaunay_2d_test.cc
@@ -672,12 +672,12 @@ TEST(delaunay, TriInTri)
CDT_input in;
CDT_result *out;
float p[][2] = {
- {-5.65685f, 0.0f},
- {1.41421f, -5.83095f},
- {0.0f, 0.0f},
- {-2.47487f, -1.45774f},
- {-0.707107f, -2.91548f},
- {-1.06066f ,-1.45774f},
+ {-5.65685f, 0.0f},
+ {1.41421f, -5.83095f},
+ {0.0f, 0.0f},
+ {-2.47487f, -1.45774f},
+ {-0.707107f, -2.91548f},
+ {-1.06066f, -1.45774f},
};
int f[] = {0, 1, 2, 3, 4, 5};
int fstart[] = {0, 3};
@@ -765,12 +765,12 @@ static void rand_delaunay_test(int test_kind,
times[lg_size] += PIL_check_seconds_timer() - tstart;
}
}
-#ifdef DO_TIMING
+# ifdef DO_TIMING
fprintf(stderr, "size,time\n");
for (lg_size = 0; lg_size <= max_lg_size; lg_size++) {
fprintf(stderr, "%d,%f\n", 1 << lg_size, times[lg_size] / reps_per_size);
}
-#endif
+# endif
MEM_freeN(p);
if (e)
MEM_freeN(e);