Exemplo n.º 1
0
        public void CountNonEmptyListSource()
        {
            ListData <int> data = ListData(1, 2, 3);

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

            Assert.That(data.Count(), Is.EqualTo(0));
            Assert.That(data.IsEnumerated, Is.False);
        }