public void SizeCollectionTest6() { ObservableRangeCollection <int> collection = new ObservableRangeCollection <int>(); int size = 10; LoggerListViewViewModel.SizeCollection(collection, size); collection.Count.Should().Be(0); }
public void SizeCollectionTest1() { ObservableRangeCollection <int> collection = new ObservableRangeCollection <int>(); for (int i = 1; i <= 9; i++) { collection.Add(i); } int size = 10; LoggerListViewViewModel.SizeCollection(collection, size); collection.Count.Should().Be(9); }