Skip to content

Commit

Permalink
Correct polyline bounds test (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdero authored and dnfield committed Apr 27, 2022
1 parent 74dff11 commit ec27727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impeller/geometry/geometry_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ TEST(GeometryTest, PolylineGetContourPointBoundsReturnsCorrectRanges) {
TEST(GeometryTest, PolylineGetContourOutOfBoundsAborts) {
Path::Polyline polyline =
PathBuilder{}.AddLine({100, 100}, {200, 100}).TakePath().CreatePolyline();
ASSERT_EQ(polyline.GetContourPointBounds(0), std::make_tuple(2u, 2u));
ASSERT_EQ(polyline.GetContourPointBounds(0), std::make_tuple(0u, 2u));
ASSERT_EQ(polyline.GetContourPointBounds(14), std::make_tuple(2u, 2u));
}

Expand Down

0 comments on commit ec27727

Please sign in to comment.