mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
clusterlin: rename Intersect -> IntersectPrefixes
This makes it clearer what the function does.
This commit is contained in:
parent
9774a958b5
commit
0e52728a2d
2 changed files with 7 additions and 7 deletions
|
|
@ -560,10 +560,10 @@ FUZZ_TARGET(clusterlin_linearization_chunking)
|
|||
}
|
||||
assert(combined == todo);
|
||||
|
||||
// Verify the expected properties of LinearizationChunking::Intersect:
|
||||
auto intersect = chunking.Intersect(subset);
|
||||
// Verify the expected properties of LinearizationChunking::IntersectPrefixes:
|
||||
auto intersect = chunking.IntersectPrefixes(subset);
|
||||
// - Intersecting again doesn't change the result.
|
||||
assert(chunking.Intersect(intersect) == intersect);
|
||||
assert(chunking.IntersectPrefixes(intersect) == intersect);
|
||||
// - The intersection is topological.
|
||||
TestBitSet intersect_anc;
|
||||
for (auto idx : intersect.transactions) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue