コード例 #1
0
 public void Search_WhenGamesIsNull()
 {
     var manager = new ForkSearcherManager(new ForkSearcher(new TextRulesProvider(string.Empty)));
     Assert.Throws<ArgumentNullException>(() => manager.Search(null));
 }
コード例 #2
0
 public void Search_WhenGamesIsEmpty()
 {
     var manager = new ForkSearcherManager(new ForkSearcher(new TextRulesProvider(string.Empty)));
     var forks = manager.Search(new Dictionary<SportType, Dictionary<GameInfo, List<Game>>>());
     Assert.IsEmpty(forks);
 }