Esempio n. 1
0
        static void Main(string[] args)
        {
            //przykłady
            Goniec b = new Goniec();

            b.Name  = "Goniec";
            b.Color = "Black";

            Console.WriteLine(b.ToString());
            Console.ReadKey();
        }
        public void SprawdzRuchNaPustejPlanszyTest()
        {
            Goniec target   = new Goniec(Gracz.CZARNE);
            int    x1       = 3;
            int    x2       = 5;
            int    y1       = 3;
            int    y2       = 2;
            bool   expected = false;
            bool   actual   = target.SprawdzRuchNaPustejPlanszy(x1, y1, x2, y2);

            Assert.AreEqual(expected, actual);
        }