@Test public void equalsTest() {


   Triangle t1 = new Triangle(7, 10, 7);
   Triangle t2 = new Triangle(7, 10, 7);
   Assert.assertEquals("equals test",
                     true, t1.equals(t2));

   t2 = new Triangle(6, 10, 7);
   Assert.assertEquals("equals false test",
                     false, t1.equals(t2));


   t2 = new Triangle(7, 9, 7);
   Assert.assertEquals("equals false test",
                     false, t1.equals(t2));

   t2 = new Triangle(7, 10, 9);
   Assert.assertEquals("equals false test",
                     false, t1.equals(t2));

   Assert.assertEquals("equals false test",
                     false, t1.equals("obj"));

   Assert.assertEquals("equals false test",
                     false, t1.equals("obj"));
   Assert.assertEquals("equals false test",
                     false, t1.equals("obj"));

   Assert.assertEquals("equals false test",
                     0, t1.hashCode());

}