1  public class PyramidTester
  2  {
  3     public static void main(String[] args)
  4     {
  5        Pyramid sample = new Pyramid(10, 10);
  6        System.out.println(sample.getVolume());
  7        System.out.println("Expected: 333.33");
  8        System.out.println(sample.getSurfaceArea());
  9        System.out.println("Expected: 224");
 10  
 11        Pyramid gizeh = new Pyramid(146, 230);
 12        System.out.println(gizeh.getVolume());
 13        /* 
 14           The following estimate is from 
 15           http://en.wikipedia.org/wiki/Great_Pyramid_of_Giza, citing
 16           Levy, Janey (2005). The Great Pyramid of Giza: 
 17           Measuring Length, Area, Volume, and Angles. Rosen 
 18           Publishing Group. ISBN 1404260595.
 19        */
 20        System.out.println("Expected: 2500000");
 21     }
 22  }