コード例 #1
0
ファイル: Program.cs プロジェクト: TomekDex/Inz
        static void Main(string[] args)
        {
            Draughts game = new Draughts {
                UserInterface = new DraughtsUI()
            };

            game.Start(new DraughtsSettings(), new DraughtsPlayerAI(), new DraughtsPlayer());
            Console.ReadKey();
        }
コード例 #2
0
        public void ShouldStartANewGame()
        {
            Draughts classUnderTest = new Draughts(_game);

            try
            {
                classUnderTest.StartNewGame();
            }
            catch
            {
                Assert.Fail();
            }
        }
コード例 #3
0
 public void ShouldInitialize()
 {
     Draughts classUnderTest = new Draughts(_game);
 }