public void MUSIC_SeasonOne_IncludesExpectedPuzzle() { List <ALittleAlliteration> results = ALittleAlliteration.GetCluesForTheme("music", 1); bool foundExpectedPuzzle = false; foreach (var puzzle in results) { if (puzzle.Solution == "abbreviate ABBA's abbot") { foundExpectedPuzzle = true; break; } } Assert.IsTrue(foundExpectedPuzzle, "Did not find expected puzzle."); }
public void BIRD_IncludesExpectedPuzzle() { List <ALittleAlliteration> results = ALittleAlliteration.GetCluesForTheme("bird"); bool foundExpectedPuzzle = false; foreach (var puzzle in results) { if (puzzle.Solution == "avid aviatrix's aviary") { foundExpectedPuzzle = true; break; } } Assert.IsTrue(foundExpectedPuzzle, "Did not find expected puzzle."); }