public void TestSimpsonsCaculation(int n, int min, int max, double expected) { var area = new answer(); var caculation = area.GetAreaUnderGraphUsingSimpsonsRule(n, min, max); Assert.AreEqual(caculation, expected); }