Exemple #1
0
        public void PlacedOnAskedPosition()
        {
            var categoryQuestions = new CategoryQuestions("anything");

            categoryQuestions.PlacedOn(new[] { 5, 9 });
            Assert.True(categoryQuestions.IsPlacedOn(5));
            Assert.True(categoryQuestions.IsPlacedOn(9));
        }
Exemple #2
0
        public void NotPlacedOnAskedPosition()
        {
            var categoryQuestions = new CategoryQuestions("anything");

            categoryQuestions.PlacedOn(new[] { 5, 9 });
            Assert.False(categoryQuestions.IsPlacedOn(6));
        }