public void Activate_TestCorrectWorkWithoutAnyExceptions() { var calc = new CalcLogic(); bool flag; try { calc.Activate("4 + 124"); flag = true; } catch { flag = false; } Assert.IsTrue(flag); }
private static void Main(string[] args) { var calc = new CalcLogic(); calc.Activate(Console.ReadLine()); }