public void DiffFilterTestsSimplePasses() { var testData = new List <int>() { 4, 2, 8, 3, 9, 4, 10, 5, 11, 6 }; var expectedResult = new List <int>() { 4, 2, 6, 5, 6, 5, 6, 5, 6, 5, }; // Use the Assert class to test conditions var result = DiffFilter.Diff(testData); Assert.AreEqual(result, expectedResult); }
public static int[] combinedFilter(int[] xs) { return(FizzBuzzFilter.multiFizzBuzz(DecrementIfLessThanFirstFilter.DecrementIfLess(DiffFilter.Diff(xs.ToList <int>()).ToArray()))); }