示例#1
0
        public void GetSatisfyingNumbersTest()
        {
            var qs = new Quizzes();

            CollectionAssert
            .AreEqual(new[] { 3, 6, 9, 12, 15, 18 }, qs.GetSatisfyingNumbers(20, n => n % 3 == 0));
        }
示例#2
0
 public void GetSatisfyingNumbersTest()
 {
     var qs = new Quizzes();
     CollectionAssert
         .AreEqual(new[] {3, 6, 9, 12, 15, 18}, qs.GetSatisfyingNumbers(20, n => n%3 == 0));
 }