public void AddOneCellPass_CellPass() { var info = new FilteredMultiplePassInfo(); info.AddPass(ATestCellPass()); info.PassCount.Should().Be(1); info.FilteredPassData.Should().NotBeNull(); }
public void AddCellPassesForcingReallocation() { var info = new FilteredMultiplePassInfo(); for (int i = 0; i < Consts.VLPDPSNODE_CELL_PASS_AGGREGATOR_LIST_SIZE_INCREMENT_DEFAULT + 1; i++) { info.AddPass(ATestCellPass()); } info.PassCount.Should().Be(Consts.VLPDPSNODE_CELL_PASS_AGGREGATOR_LIST_SIZE_INCREMENT_DEFAULT + 1); info.FilteredPassData.Should().NotBeNull(); }
public void AddOneCellPass_FilteredCellPass() { var info = new FilteredMultiplePassInfo(); var filteredPassData = new FilteredPassData { FilteredPass = ATestCellPass() }; info.AddPass(filteredPassData); info.PassCount.Should().Be(1); info.FilteredPassData.Should().NotBeNull(); }