mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by clang-format
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user