public void TriangleIsNotIsosceles() { //Arrange Triangle t = new Triangle(10, 11, 15); //Act bool result = t.isIsosceles(); //Assert Assert.IsFalse(result); }
public void PointsArrayConstructor() { //Arrange Point a = new Point(0, 0); Point b = new Point(5, 0); Point c = new Point(0, 5); Point[] points = { a, b, c }; Triangle t = new Triangle(points); //Act bool result = t.isIsosceles(); //Assert Assert.IsTrue(result); }