예제 #1
0
        public void cablePuzzleRotate()
        {
            var cp = new CablePuzzleGame(new List <string> {
                "03"
            });

            Assert.AreEqual(Piece.Orientation.Right, cp.rotate(0));
            Assert.AreEqual(Piece.Type.Straight, cp.pieces[0].type);
            Assert.AreEqual(Piece.Orientation.Right, cp.pieces[0].orientation);
        }