public void ExpectPrintLineMethodToWorkCorrectlyWithFrame() { var frame = new Frame(new ITile[3, 3]); var printer = new Printer(); printer.PrintLine(frame); }
public void TestMoverNotMovingATileWhenInFrameHaveNotNullTileClassicMover() { var mover = new ClassicMover(); IFrame initialFrame = new Frame(new ITile[,] { { new NumberTile(1) } }); var actualFrame = initialFrame.Clone(); bool moveDown = mover.Move("4", actualFrame); Assert.IsFalse(moveDown, "Mover method should return false when the tile can not be moved"); Assert.AreEqual(initialFrame, actualFrame, "The frame should not be changed"); }