Exemplo n.º 1
0
        static void Main()
        {
            Console.WriteLine("Введите координаты точки");
            Console.Write("x: ");
            int x = Convert.ToInt32(Console.ReadLine());

            Console.Write("y: ");
            int y = Convert.ToInt32(Console.ReadLine());

            Console.WriteLine(MyBranching.Quarters(x, y));
        }
Exemplo n.º 2
0
        public static void Quarters(int x, int y, string expected)
        {
            string actual = MyBranching.Quarters(x, y);

            Assert.AreEqual(expected, actual);
        }