static void Main(string[] args) { while (true) { Console.WriteLine("Введите двузначное число"); int a = Convert.ToInt32(Console.ReadLine()); Console.WriteLine(MyBranching.CallingNumber(a)); } }
public static void CallingNumber(int a, string expected) { string actual = MyBranching.CallingNumber(a); Assert.AreEqual(expected, actual); }