Skip to content

Commit

Permalink
do not duplicate wall and reflection point anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Dec 11, 2024
1 parent 1fa1e7f commit dac6271
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,14 @@ public void testProfileTopographicGroundEffectWall() throws Exception {
Coordinate receiver = new Coordinate(200, 50, 14);
Coordinate source = new Coordinate(10, 10, 1);
CutProfile cutProfile = profileBuilder.getProfile(source, receiver, 0, false);
assertEquals(9, cutProfile.cutPoints.size());
assertEquals(7, cutProfile.cutPoints.size());
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(10, 10, 1), cutProfile.cutPoints.get(0).getCoordinate(), 0.01);
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(50, 18.421, 0), cutProfile.cutPoints.get(1).getCoordinate(), 0.01);
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(120, 33.158, 0), cutProfile.cutPoints.get(2).getCoordinate(), 0.01);
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(150, 39.474, 4.616), cutProfile.cutPoints.get(3).getCoordinate(), 0.01);
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(176.83, 45.122, 16.634), cutProfile.cutPoints.get(5).getCoordinate(), 0.01);
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(185, 46.842, 10), cutProfile.cutPoints.get(7).getCoordinate(), 0.01);
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(200, 50, 14), cutProfile.cutPoints.get(8).getCoordinate(), 0.01);
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(176.83, 45.122, 16.634), cutProfile.cutPoints.get(4).getCoordinate(), 0.01);
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(185, 46.842, 10), cutProfile.cutPoints.get(5).getCoordinate(), 0.01);
PathFinderTest.assert3DCoordinateEquals("", new Coordinate(200, 50, 14), cutProfile.cutPoints.get(6).getCoordinate(), 0.01);
}

@Test
Expand Down

0 comments on commit dac6271

Please sign in to comment.