public void Test_SubGridCellPassDataPassCountEntryRecord_Clear() { var rec = new SubGridCellPassDataPassCountEntryRecord(); rec.Clear(); Assert.True(rec.MeasuredPassCount == CellPassConsts.NullPassCountValue); Assert.True(rec.TargetPassCount == CellPassConsts.NullPassCountValue); }
public void Test_NullCells() { var cell = new SubGridCellPassDataPassCountEntryRecord(); cell.Clear(); var clientGrid = ClientLeafSubGridFactoryFactory.CreateClientSubGridFactory().GetSubGrid(GridDataType.PassCount) as ClientPassCountLeafSubGrid; SubGridUtilities.SubGridDimensionalIterator((x, y) => Assert.True(clientGrid.Cells[x, y].Equals(cell))); }