Fixes by clang-format

This commit is contained in:
magnesj
2020-11-06 09:46:38 +00:00
committed by Magne Sjaastad
parent 318b4e3471
commit d11e109c7e
208 changed files with 67533 additions and 67439 deletions

View File

@@ -6,9 +6,9 @@
//--------------------------------------------------------------------------------------------------
TEST( RiaPolyArcLineSampler, Basic )
{
std::vector<cvf::Vec3d> points{{0, 0, 0}, {0, 0, -10}, {0, 10, -20}, {0, 20, -20}, {0, 30, -30}};
std::vector<cvf::Vec3d> points{ { 0, 0, 0 }, { 0, 0, -10 }, { 0, 10, -20 }, { 0, 20, -20 }, { 0, 30, -30 } };
RiaPolyArcLineSampler sampler( {0, 0, -1}, points );
RiaPolyArcLineSampler sampler( { 0, 0, -1 }, points );
auto [sampledPoints, mds] = sampler.sampledPointsAndMDs( 2, true );
#if 1
@@ -33,9 +33,9 @@ TEST( RiaPolyArcLineSampler, TestInvalidInput )
{
{
// Two identical points after each other
std::vector<cvf::Vec3d> points{{0, 0, -20}, {0, 0, -20}};
std::vector<cvf::Vec3d> points{ { 0, 0, -20 }, { 0, 0, -20 } };
RiaPolyArcLineSampler sampler( {0, 0, -1}, points );
RiaPolyArcLineSampler sampler( { 0, 0, -1 }, points );
auto [sampledPoints, mds] = sampler.sampledPointsAndMDs( 2, true );
@@ -46,7 +46,7 @@ TEST( RiaPolyArcLineSampler, TestInvalidInput )
{
std::vector<cvf::Vec3d> points;
RiaPolyArcLineSampler sampler( {0, 0, -1}, points );
RiaPolyArcLineSampler sampler( { 0, 0, -1 }, points );
auto [sampledPoints, mds] = sampler.sampledPointsAndMDs( 2, true );
@@ -55,9 +55,9 @@ TEST( RiaPolyArcLineSampler, TestInvalidInput )
}
{
std::vector<cvf::Vec3d> points{{0, 0, 0}};
std::vector<cvf::Vec3d> points{ { 0, 0, 0 } };
RiaPolyArcLineSampler sampler( {0, 0, -1}, points );
RiaPolyArcLineSampler sampler( { 0, 0, -1 }, points );
auto [sampledPoints, mds] = sampler.sampledPointsAndMDs( 2, true );