public void Test_GetTriangleStyle_Given_TwoSameNumbers_THEN_ExpectIsoscelesTriangle() { var target = new TriangleStyleCalculator(); var result = target.GetTriangleStyle(4, 4, 2); Assert.AreEqual(TriangleStyles.Styles.Isosceles, result); }
public void Test_GetTriangleStyle_Given_ThreeUnidenticalNumbers_THEN_ExpectScaleneTriangle() { var target = new TriangleStyleCalculator(); var result = target.GetTriangleStyle(5, 88, 3); Assert.AreEqual(TriangleStyles.Styles.Scalene, result); }
public void Test_GetTriangleStyle_Given_SameNumbers_THEN_ExpectEquilateralTriangle() { var target = new TriangleStyleCalculator(); var result = target.GetTriangleStyle(4, 4, 4); Assert.AreEqual(TriangleStyles.Styles.Equilateral, result); }