Skip to content

Commit 427d598

Browse files
committed
adjust constants in unit tests to match new calculations
1 parent 500b4b8 commit 427d598

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

engine/src/flutter/impeller/entity/geometry/geometry_unittests.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ TEST(EntityGeometryTest, TightQuadratic180DegreeJoins) {
11291129
},
11301130
1.0f);
11311131
// Generates no joins because the curve is smooth
1132-
EXPECT_EQ(points_bevel_reference.size(), 74u);
1132+
EXPECT_EQ(points_bevel_reference.size(), 78u);
11331133

11341134
// Now create a path that doubles back on itself with a quadratic.
11351135
flutter::DlPathBuilder path_builder;
@@ -1196,7 +1196,7 @@ TEST(EntityGeometryTest, TightConic180DegreeJoins) {
11961196
},
11971197
1.0f);
11981198
// Generates no joins because the curve is smooth
1199-
EXPECT_EQ(points_bevel_reference.size(), 78u);
1199+
EXPECT_EQ(points_bevel_reference.size(), 82u);
12001200

12011201
// Now create a path that doubles back on itself with a conic.
12021202
flutter::DlPathBuilder path_builder;
@@ -1264,7 +1264,7 @@ TEST(EntityGeometryTest, TightCubic180DegreeJoins) {
12641264
},
12651265
1.0f);
12661266
// Generates no joins because the curve is smooth
1267-
EXPECT_EQ(points_reference.size(), 76u);
1267+
EXPECT_EQ(points_reference.size(), 80u);
12681268

12691269
// Now create a path that doubles back on itself with a cubic.
12701270
flutter::DlPathBuilder path_builder;

0 commit comments

Comments
 (0)