Ejemplo n.º 1
0
        public void itCorrectlyTurnsRight()
        {
            Handler.turnRight();

            frontEqual(Direction.EAST, ImageKey.FRONT);
            topEqual(Direction.EAST, ImageKey.LEFT);
            backEqual(Direction.EAST, ImageKey.BACK);
            bottomEqual(Direction.EAST, ImageKey.RIGHT);
            rightEqual(Direction.NORTH, ImageKey.TOP);
            leftEqual(Direction.NORTH, ImageKey.BOTTOM);
        }
Ejemplo n.º 2
0
 private void onTurnRightClick(object sender, RoutedEventArgs e)
 {
     cubeRotationHandler.turnRight();
     updateImages();
 }