public void CountNonEmptyListSource() { ListData <int> data = ListData(1, 2, 3); Assert.That(data.Count(), Is.EqualTo(3)); Assert.That(data.IsEnumerated, Is.False); }
public void CountEmptyListSource() { ListData <object> data = EmptyListData; Assert.That(data.Count(), Is.EqualTo(0)); Assert.That(data.IsEnumerated, Is.False); }