public void LastItemWithNoneNextValue() { var first = _items.ToPrevNextIterator().Last(); var standard = new PrevNextValue <int>(3, 4, Optional <int> .None); Assert.AreEqual(standard, first); }
public void SourceWithManyValues_ReturnsFirstItemWithNextValue() { var first = _items.ToPrevNextIterator().First(); var standard = new PrevNextValue <int>(Optional <int> .None, 0, 1); Assert.AreEqual(standard, first); }