public void ReversePolishNotation_ExceptionTests(string input) { var exc = Assert.Throws <ArgumentException>(() => GenericsCollections.ReversePolishNotation(input)); Assert.AreEqual(typeof(ArgumentException), exc.GetType()); }
public int ReversePolishNotation_ReturnsTheResultOfMath(string input) => GenericsCollections.ReversePolishNotation(input);