mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-04 00:39:53 +02:00
Refined XOR optimization solution such that it is compatible with deep mode and 'wants_all_cells', added more tests
This commit is contained in:
@@ -1683,7 +1683,7 @@ TEST(13_ForMergedPerformance)
|
||||
++n;
|
||||
}
|
||||
tl::info << "Counted " << n << " shapes on 66/20";
|
||||
EXPECT_EQ (n, size_t (1212844));
|
||||
EXPECT_EQ (n, size_t (1203078));
|
||||
}
|
||||
|
||||
{
|
||||
@@ -1735,7 +1735,7 @@ TEST(13_ForMergedPerformance)
|
||||
++n;
|
||||
}
|
||||
tl::info << "Counted " << n << " shapes on 66/20";
|
||||
EXPECT_EQ (n, size_t (218552));
|
||||
EXPECT_EQ (n, size_t (218069));
|
||||
}
|
||||
|
||||
{
|
||||
@@ -1757,7 +1757,7 @@ TEST(13_ForMergedPerformance)
|
||||
db::Region r2 (si1);
|
||||
|
||||
EXPECT_EQ (r1.count (), size_t (218823));
|
||||
EXPECT_EQ (r2.count (), size_t (218552));
|
||||
EXPECT_EQ (r2.count (), size_t (218069));
|
||||
EXPECT_EQ ((r1 ^ r2).count (), size_t (0));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user