Example #1
0
        public void Test_MoveBlock()
        {
            BlockModel b = SetUpBlockLeftBound();

            b.MoveBlock(2, 4);

            Assert.AreEqual(b.GridX, 4);
            Assert.AreEqual(b.GridY, 2);
            Assert.AreEqual(b.Top, 2 * 34);
            Assert.AreEqual(b.Left, 4 * 34);
        }