mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
This commit is contained in:
@@ -42,15 +42,13 @@ TEST( RigHexIntersectionTools, planeHexCellIntersectionTest )
|
||||
cvf::Plane fracturePlane;
|
||||
|
||||
fracturePlane.setFromPointAndNormal( cvf::Vec3d( 0.5, 0.5, 0.5 ), cvf::Vec3d( 1, 0, 0 ) );
|
||||
isCellIntersected = RigHexIntersectionTools::planeHexCellIntersection( hexCorners,
|
||||
fracturePlane,
|
||||
intersectionLineSegments );
|
||||
isCellIntersected =
|
||||
RigHexIntersectionTools::planeHexCellIntersection( hexCorners, fracturePlane, intersectionLineSegments );
|
||||
EXPECT_TRUE( isCellIntersected );
|
||||
|
||||
fracturePlane.setFromPointAndNormal( cvf::Vec3d( 1.5, 1.5, 1.5 ), cvf::Vec3d( 1, 0, 0 ) );
|
||||
isCellIntersected = RigHexIntersectionTools::planeHexCellIntersection( hexCorners,
|
||||
fracturePlane,
|
||||
intersectionLineSegments );
|
||||
isCellIntersected =
|
||||
RigHexIntersectionTools::planeHexCellIntersection( hexCorners, fracturePlane, intersectionLineSegments );
|
||||
EXPECT_FALSE( isCellIntersected );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user