@Test public void totalOfPerimetersTest() {


   Triangle[] tArray = new Triangle[20];
   tArray[0] = new Triangle(3, 4, 5);
   tArray[1] = new Triangle(3, 5, 5);
   tArray[2] = new Triangle(3, 3, 3);
   
   TriangleList2 tList = new TriangleList2("Test List", tArray, 3);
   
   Assert.assertEquals("totalOfPerimeters Test",
                        34, tList.totalOfPerimeters(), .001);

   Assert.assertEquals("totalOfPerimeters Test",
                        34, tList.totalOfPerimeters2(), .001);
}