示例#1
0
        public void Starter_Pass_IfForced()
        {
            state.ParseField(1, 1, ".");

            var strat = new RandomMoves();
            var move  = strat.Act(state, _ => {});

            Assert.Equal(MoveType.Pass, move.Command);
        }
示例#2
0
        public void Starter_KillOrBirth_WhenAllowed()
        {
            state.ParseField(2, 2, "0,0,1,.");

            var strat = new RandomMoves();
            var move  = strat.Act(state, _ => {});

            Assert.NotEqual(MoveType.Pass, move.Command);
        }