public void ReturnObtuseIfOneSideSquaredThatSquaredSumOfTwo(float a, float b, float c) { var result = TriangleTypeAnalyzer.AnalyzeTriangle(a, b, c); Assert.That(result, Is.EqualTo(TriangleType.Obtuse)); }
public void ReturnUndefinedIfOneSideMoreThatSumOfTwo(float a, float b, float c) { var result = TriangleTypeAnalyzer.AnalyzeTriangle(a, b, c); Assert.That(result, Is.EqualTo(TriangleType.Undefined)); }