public void itCorrectlyFlipsUp()
        {
            Handler.flipUp();

            frontEqual(Direction.SOUTH, ImageKey.BOTTOM);
            topEqual(Direction.NORTH, ImageKey.FRONT);
            backEqual(Direction.NORTH, ImageKey.TOP);
            bottomEqual(Direction.SOUTH, ImageKey.BACK);
            rightEqual(Direction.NORTH, ImageKey.RIGHT);
            leftEqual(Direction.NORTH, ImageKey.LEFT);
        }
示例#2
0
 private void onUpClick(object sender, RoutedEventArgs e)
 {
     cubeRotationHandler.flipUp();
     updateImages();
 }