예제 #1
0
        public void Invalid_False(
            [Values(typeof(BackTrackingSolver))] Type solverType)
        {
            var config = new Config()
            {
                OrderRoot = 2
            };
            var game = new Game(config);

            game.FillFrom(new int?[] { 2, 2 });
            var solver = solverType.InvokeMember(null, BindingFlags.CreateInstance, null, null, null) as Solver;

            var ret = solver.Solve(game);

            Assert.False(ret);
        }