예제 #1
0
        public void Test_SubGridCellPassDataPassCountEntryRecord_Clear()
        {
            var rec = new SubGridCellPassDataPassCountEntryRecord();

            rec.Clear();

            Assert.True(rec.MeasuredPassCount == CellPassConsts.NullPassCountValue);
            Assert.True(rec.TargetPassCount == CellPassConsts.NullPassCountValue);
        }
예제 #2
0
        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)));
        }