Skip to content

Commit afeab7c

Browse files
committed
tests fixed
1 parent 5ad07e0 commit afeab7c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

HarmonyDB.Index/HarmonyDB.Index.Analysis.Tests/LoopExtractionTests.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,15 @@ private void TraceAndTest(
10431043
}
10441044
}
10451045

1046+
private void TraceAndTest(BlockGraph graph)
1047+
{
1048+
Assert.All(graph.Environments, e => Assert.Distinct(e.ChildrenSubtree));
1049+
Assert.All(graph.Environments, e => Assert.Distinct(e.Children));
1050+
Assert.All(graph.Environments, e => Assert.Distinct(e.Parents));
1051+
Assert.All(graph.Environments, e => Assert.Distinct(e.LeftJoints));
1052+
Assert.All(graph.Environments, e => Assert.Distinct(e.RightJoints));
1053+
}
1054+
10461055
private void TraceAndTest(List<IBlock> blocks, bool anyMassiveOverlaps)
10471056
{
10481057
AssertLoopsSequencePossible(blocks, anyMassiveOverlaps);

0 commit comments

Comments
 (0)