Skip to content

Commit

Permalink
Correct unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacarniato committed Aug 8, 2023
1 parent 29b354d commit a6ad923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/MeshKernel/tests/src/CurvilinearUniformTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ TEST(CurvilinearGrid, CurvilinearGridCreateUniform_WithPolygon_ShouldComputeCurv

const auto polygons = std::make_shared<Polygons>(polygonNodes, Projection::cartesian);

const double angle = 10.0;
const double angle = 0.0;
const double blockSizeX = 1.0;
const double blockSizeY = 1.0;

Expand All @@ -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)
Expand Down

0 comments on commit a6ad923

Please sign in to comment.