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); }
public static ICell WithValue(this ICell cell, Solver.CellValue value) { ((IEditableCell)cell).Value = value; return(cell); }