Ejemplo n.º 1
0
        public void Clear()
        {
            var rec = new SubGridCellPassDataCMVEntryRecord(1, 2, 3, 4);

            rec.Clear();

            rec.Should().BeEquivalentTo(SubGridCellPassDataCMVEntryRecord.NullValue);
        }
Ejemplo n.º 2
0
        public void Test_NullCells()
        {
            var cell = new SubGridCellPassDataCMVEntryRecord();

            cell.Clear();

            var clientGrid = ClientLeafSubGridFactoryFactory.CreateClientSubGridFactory().GetSubGrid(GridDataType.CCV) as ClientCMVLeafSubGrid;

            SubGridUtilities.SubGridDimensionalIterator((x, y) => Assert.True(clientGrid.Cells[x, y].Equals(cell)));
        }
Ejemplo n.º 3
0
        public void Test_SubGridCellPassDataCMVEntryRecord_Creation()
        {
            SubGridCellPassDataCMVEntryRecord rec = new SubGridCellPassDataCMVEntryRecord();

            rec.Clear();

            Assert.True(rec.MeasuredCMV == CellPassConsts.NullCCV);
            Assert.True(rec.TargetCMV == CellPassConsts.NullCCV);
            Assert.True(rec.PreviousMeasuredCMV == CellPassConsts.NullCCV);
            Assert.True(rec.PreviousTargetCMV == CellPassConsts.NullCCV);
        }