示例#1
0
        public void GetOwner()
        {
            var pt = new PlayerTracker();

            Assert.Null(pt.GetOwner("Rumstil"));
            Assert.Equal("Rumstil", pt.GetOwner("Rumstil`s pet"));
            Assert.Equal("Rumstil", pt.GetOwner("Rumstil`s warder"));
        }
示例#2
0
 public FightTracker(LogParser parser) : base()
 {
     Players = new PlayerTracker(parser);
     Subscribe(parser);
 }