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