public void VerySmallTrianglesCanBeScalene() { Tasks.Triangle triangle = new Tasks.Triangle(0.5, 0.4, 0.6); Assert.True(triangle.IsScalene()); }
public void TrianglesWithAllSidesEqualAreNotScalene() { Tasks.Triangle triangle = new Tasks.Triangle(4, 4, 4); Assert.False(triangle.IsScalene()); }
public void VerySmallTrianglesCanBeIsosceles() { Tasks.Triangle triangle = new Tasks.Triangle(0.5, 0.4, 0.5); Assert.True(triangle.IsIsosceles()); }
public void IsoscelesTrianglesMustHaveAtLeastTwoEqualSides() { Tasks.Triangle triangle = new Tasks.Triangle(2, 3, 4); Assert.False(triangle.IsIsosceles()); }
public void VerySmallTrianglesCanBeEquilateral() { Tasks.Triangle triangle = new Tasks.Triangle(0.5, 0.5, 0.5); Assert.True(triangle.IsEquilateral()); }
public void TrianglesWithNoEqualSidesAreNotEquilateral() { Tasks.Triangle triangle = new Tasks.Triangle(5, 4, 6); Assert.False(triangle.IsEquilateral()); }