public void TestSkip() { IEnumerable <int> actual = Partitioning.Skip(); IEnumerable <int> expected = new int[] { 9, 8, 6, 7, 2, 0 }; CollectionAssert.AreEqual(actual.ToList(), expected.ToList(), "You failed!"); }
public void Partitioning_Skip() { // Arrange var products = FakeProduct.Data.Generate(5); // Act var result = _partitioning.Skip(products, 2); // Assert Assert.True(result.Count == 3); }