Esempio n. 1
0
 private static void TestMultipliers(int multiplier, int max, IEnumerable<int> expected)
 {
     int[] result = new GetMultiplesOf(multiplier).UpTo(max);
     result.SequenceEqual(expected).Should().BeTrue();
 }
Esempio n. 2
0
 private static void TestMultipliers(int multiplier, int max, IEnumerable <int> expected)
 {
     int[] result = new GetMultiplesOf(multiplier).UpTo(max);
     result.SequenceEqual(expected).Should().BeTrue();
 }