static void Main() { var str = Console.ReadLine(); var notation = Parser.CreateNotation(str); Console.WriteLine(CalculateClass.Calculate(notation)); Console.ReadKey(); }
public void TestCase(string[] notation, int expected) { Assert.AreEqual(expected, CalculateClass.Calculate(notation)); }