public void itCorrectlyTurnsLeft()
        {
            Handler.turnLeft();

            frontEqual(Direction.WEST, ImageKey.FRONT);
            topEqual(Direction.WEST, ImageKey.RIGHT);
            backEqual(Direction.WEST, ImageKey.BACK);
            bottomEqual(Direction.WEST, ImageKey.LEFT);
            rightEqual(Direction.NORTH, ImageKey.BOTTOM);
            leftEqual(Direction.NORTH, ImageKey.TOP);
        }
Beispiel #2
0
 private void onTurnLeftClick(object sender, RoutedEventArgs e)
 {
     cubeRotationHandler.turnLeft();
     updateImages();
 }