示例#1
0
        protected override void Arrange()
        {
            _otherCellInMyRowStub = MockRepository.GenerateStub <ICell>();
            _otherCellInMyColStub = MockRepository.GenerateStub <ICell>();
            _otherCellInMySqrStub = MockRepository.GenerateStub <ICell>();

            _cell11 = CreateCellAndLinkItToCellsInItsRowColAndSqr();

            _value = Solver.CellValue.Seven;
        }
 protected override void Act()
 {
     _actual = Solver.CellValue.From(3);
 }
示例#3
0
 public static ICell WithValue(this ICell cell, Solver.CellValue value)
 {
     ((IEditableCell)cell).Value = value;
     return(cell);
 }