From a6ad923ceafa8494d126e60f4f663f2fbedc30ed Mon Sep 17 00:00:00 2001 From: Luca Carniato Date: Tue, 8 Aug 2023 17:41:07 +0200 Subject: [PATCH] Correct unit test --- libs/MeshKernel/tests/src/CurvilinearUniformTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/MeshKernel/tests/src/CurvilinearUniformTests.cpp b/libs/MeshKernel/tests/src/CurvilinearUniformTests.cpp index 3c79f5405..6590cb829 100644 --- a/libs/MeshKernel/tests/src/CurvilinearUniformTests.cpp +++ b/libs/MeshKernel/tests/src/CurvilinearUniformTests.cpp @@ -19,7 +19,7 @@ TEST(CurvilinearGrid, CurvilinearGridCreateUniform_WithPolygon_ShouldComputeCurv const auto polygons = std::make_shared(polygonNodes, Projection::cartesian); - const double angle = 10.0; + const double angle = 0.0; const double blockSizeX = 1.0; const double blockSizeY = 1.0; @@ -33,7 +33,7 @@ TEST(CurvilinearGrid, CurvilinearGridCreateUniform_WithPolygon_ShouldComputeCurv // Assert, also invalid nodes and edges are included in the curvilinear grid auto const numValidNodes = CurvilinearGridCountValidNodes(curvilinearGrid); - ASSERT_EQ(10, numValidNodes); + ASSERT_EQ(9, numValidNodes); } TEST(CurvilinearGrid, MakeCurvilinearInPolygonSpherical)