public void NotPlacedOnAskedPosition() { var categoryQuestions = new CategoryQuestions("anything"); categoryQuestions.PlacedOn(new[] { 5, 9 }); Assert.False(categoryQuestions.IsPlacedOn(6)); }
public QuestionDeck() { var pop = new CategoryQuestions("Pop"); pop.PlacedOn(new[] { 0, 4, 8 }); var science = new CategoryQuestions("Science"); science.PlacedOn(new[] { 1, 5, 9 }); var sports = new CategoryQuestions("Sports"); sports.PlacedOn(new[] { 2, 6, 10 }); var rock = new CategoryQuestions("Rock"); rock.PlacedOn(new[] { 3, 7, 11 }); categories = new List <CategoryQuestions> { pop, science, sports, rock }; }
public void PlacedOnAskedPosition() { var categoryQuestions = new CategoryQuestions("anything"); categoryQuestions.PlacedOn(new[] { 5, 9 }); Assert.True(categoryQuestions.IsPlacedOn(5)); Assert.True(categoryQuestions.IsPlacedOn(9)); }