public void Test_BlockModel_Down_3Times() { BlockModel b = SetUpBlockLeftBound(); b.MoveDown(); b.MoveDown(); b.MoveDown(); Assert.AreEqual(b.GridY, 3); Assert.AreEqual(b.GridX, 0); Assert.AreEqual(b.Top, 34 * 3); }
public void Test_MarkPosition_Moved() { BlockModel b = SetUpBlockLeftBound(); b.MoveDown(); b.MoveDown(); b.MoveRight(); b.MoveRight(); b.MoveRight(); b.MarkPosition(); Assert.AreEqual(grid[2, 3], 1); }
public void Test_BlockModel_Down_Once() { BlockModel b = SetUpBlockLeftBound(); b.MoveDown(); Assert.AreEqual(b.GridY, 1); Assert.AreEqual(b.GridX, 0); Assert.AreEqual(b.Top, 34); }