Skip to content

Commit

Permalink
tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-zhur committed Jul 20, 2024
1 parent 5ad07e0 commit afeab7c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,15 @@ private void TraceAndTest(
}
}

private void TraceAndTest(BlockGraph graph)
{
Assert.All(graph.Environments, e => Assert.Distinct(e.ChildrenSubtree));
Assert.All(graph.Environments, e => Assert.Distinct(e.Children));
Assert.All(graph.Environments, e => Assert.Distinct(e.Parents));
Assert.All(graph.Environments, e => Assert.Distinct(e.LeftJoints));
Assert.All(graph.Environments, e => Assert.Distinct(e.RightJoints));
}

private void TraceAndTest(List<IBlock> blocks, bool anyMassiveOverlaps)
{
AssertLoopsSequencePossible(blocks, anyMassiveOverlaps);
Expand Down

0 comments on commit afeab7c

Please sign in to comment.