예제 #1
0
        public void Test_Left_Bound_Movement()
        {
            BlockModel b = SetUpBlockLeftBound();

            b.MoveLeft();

            Assert.AreEqual(b.GridX, 0);
        }
예제 #2
0
        public void Test_One_Left_Movement()
        {
            BlockModel b = SetUpBlockRightBound();

            b.MoveLeft();

            Assert.AreEqual(b.GridX, 3);
            Assert.AreEqual(b.Left, 3 * 34);
        }