public void Should_Draw_Itself_Correctly() { var testStr = "{99}"; var cell = new EmptyCell(1); cell.SetIndex(99); Assert.True(cell.DrawYourselfInTable(testStr) == testStr.ToSpaces()); cell.SetIndex(8); testStr = "{8}"; Assert.True(cell.DrawYourselfInTable(testStr) == testStr.ToSpaces()); }
public void Should_Change_Index() { var cell = new EmptyCell(1); cell.SetIndex(3); Assert.True(cell.Index == 3); }