예제 #1
0
        public void AIGameFactoryMethodTest()
        {
            // arrange
            var gameCreator = new GameCreator(new ConfigProvider(new ConfigurationBuilder().Build()), new Display(new ConfigProvider(new ConfigurationBuilder().Build())), new SnakeBot(new SnakeAIModel(), new ModelInputHelper()));

            // act
            var actual = gameCreator.AIGameFactoryMethod();

            // assert
            Assert.IsInstanceOf <AIGame>(actual);
        }