mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix compare of wrong enum type
This commit is contained in:
parent
8d0926dd53
commit
a860adb1fb
@ -622,7 +622,7 @@ TEST(RiaArcCurveCalculator, Basic)
|
||||
{
|
||||
RiaArcCurveCalculator calc({ 0,0,0 }, 0, 0, { 0, 0,-1000 });
|
||||
|
||||
EXPECT_TRUE(calc.curveStatus() == RiaJCurveCalculator::OK_STRAIGHT_LINE);
|
||||
EXPECT_TRUE(calc.curveStatus() == RiaArcCurveCalculator::OK_STRAIGHT_LINE);
|
||||
|
||||
cvf::Vec3d te = calc.endTangent();
|
||||
EXPECT_NEAR(0, te.x(), 1e-5);
|
||||
|
Loading…
Reference in New Issue
Block a user