Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a7288ec

Browse files
committed
++
1 parent 6382b86 commit a7288ec

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

impeller/tessellator/tessellator_unittests.cc

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -78,30 +78,6 @@ TEST(TessellatorTest, TessellatorBuilderReturnsCorrectResultStatus) {
7878

7979
ASSERT_EQ(result, Tessellator::Result::kInputError);
8080
}
81-
82-
// More than uint16 points, odd fill mode.
83-
{
84-
Tessellator t;
85-
PathBuilder builder = {};
86-
for (auto i = 0; i < 1000; i++) {
87-
builder.AddCircle(Point(i, i), 4);
88-
}
89-
auto path = builder.TakePath(FillType::kOdd);
90-
bool no_indices = false;
91-
size_t count = 0u;
92-
Tessellator::Result result = t.Tessellate(
93-
path, 1.0f,
94-
[&no_indices, &count](const float* vertices, size_t vertices_count,
95-
const uint16_t* indices, size_t indices_count) {
96-
no_indices = indices == nullptr;
97-
count = vertices_count;
98-
return true;
99-
});
100-
101-
ASSERT_TRUE(no_indices);
102-
ASSERT_TRUE(count >= USHRT_MAX);
103-
ASSERT_EQ(result, Tessellator::Result::kSuccess);
104-
}
10581
}
10682

10783
TEST(TessellatorTest, TessellateConvex) {

0 commit comments

Comments
 (0)