public void RedditTestCase2() { const int x = 4; const int y = 2; int output = PascalTriangleCalculator.GetValueFromCoOrdinates(x, y); Assert.AreEqual(3, output); }
public void CanHandleInvalidInput() { Assert.Throws <ArgumentOutOfRangeException>(() => PascalTriangleCalculator.GetValueFromCoOrdinates(1, 19)); }