public void MonsterBySourceTest()
        {
            CompendiumSource source = new CompendiumSource {
                Value = 203
            };

            IEnumerable <SearchResult> actual;

            actual = SearchResultMonster.BySource(source);
            Assert.AreEqual(5, actual.Count());
            Assert.IsTrue(actual.Any(x => x.Name == "Erdlu"));
        }
示例#2
0
 protected override IEnumerable <SearchResult> GetSearchResults(CompendiumSource cs)
 {
     return(SearchResultMonster.BySource(cs));
 }