示例#1
0
        static void Main(string[] args)
        {
            var chess = new Chess();

            chess.Run();
            Console.WriteLine();
        }
示例#2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello Template Method design pattern!");
            var chess = new Chess();

            chess.Run();
        }
示例#3
0
        static void Main(string[] args)
        {
            var chess = new Chess();

            chess.Run();
        }
示例#4
0
        static void Main(string[] args)
        {
            var game = new Chess(2);

            game.Run();
        }
示例#5
0
        public void Test1()
        {
            var game = new Chess();

            Assert.False(string.IsNullOrEmpty(game.Run()));
        }
示例#6
0
        static void Main()
        {
            var chess = new Chess();

            chess.Run();
        }