TriangleTester.java.html

  1  public class TriangleTester
  2  {
  3     public static void main(String[] args)
  4     {
  5        Triangle t = new Triangle(10);
  6        int area = t.getArea();
  7        System.out.println("Area: " + area);
  8        System.out.println("Expected: 55");
  9     }
 10  }