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);
        }
示例#2
0
 private void onTurnLeftClick(object sender, RoutedEventArgs e)
 {
     cubeRotationHandler.turnLeft();
     updateImages();
 }