示例#1
0
        public void bots_dont_generate_logs_when_cleansing()
        {
            var player = new PlayerBuilder()
                         .With(p => p.Id, 50)
                         .With(p => p.BotId, AIStatics.PsychopathBotId)
                         .BuildAndSave();

            player.Cleanse(new BuffBox());
            Assert.That(player.PlayerLogs, Is.Empty);
        }
示例#2
0
        public void players_do_generate_logs_when_cleansing()
        {
            var player = new PlayerBuilder()
                         .With(p => p.Id, 50)
                         .With(p => p.BotId, AIStatics.ActivePlayerBotId)
                         .BuildAndSave();

            player.Cleanse(new BuffBox());
            Assert.That(player.PlayerLogs, Has.Exactly(1).Items);
        }