예제 #1
0
        public void TestChangeColor()
        {
            var turtle = new Turtle(new Vector(0, 0), 0.0, ImmutableStack<Turtle.TurtleState>.Empty, dummy, Colors.Black);
            var colorChanged = turtle.ChangeColor(Colors.Green);

            Assert.AreEqual(colorChanged.DrawColor, Colors.Green);
        }