JUnit test for the method which return the type of triangle(rectangle or not)