Beispiel #1
0
        public void Test_AI_Moves_A_Unit()
        {
            var subject = new Ai();
            var result  = subject.Go(new ai.GameMessage {
                Unit_Updates = new List <UnitUpdate> {
                    new UnitUpdate {
                        Id = 5
                    }
                }
            });

            result.commands.Should().NotBeEmpty();
            result.commands.First().command.Should().Equals("MOVE");
        }