public void CalculateTest(string userInput, double res) { Assert.That(PercentsTask.Calculate(userInput), Is.EqualTo(res)); }
public static void Main(string[] args) { var userInput = Console.ReadLine(); Console.WriteLine(PercentsTask.Calculate(userInput)); }