public WhenComparingLists()
        {
            IRecordStore recordStore = new RecordStore();

            recordStore.Add("Purple Rain");
            recordStore.Add("Around The World In A Day");
            recordStore.Add("Parade");
            _albumTitles = recordStore.GetAlbumTitles().ToList().AsReadOnly();
        }
Beispiel #2
0
        public WhenComparingNumbers()
        {
            IRecordStore recordStore = new RecordStore();

            recordStore.Add("Purple Rain");
            _totalNumberOfRecords = recordStore.GetAlbumTitles().Count();
        }
Beispiel #3
0
        public WhenComparingStrings()
        {
            IRecordStore recordStore = new RecordStore();

            recordStore.Add("Purple Rain");
            _albumTitle = recordStore.GetAlbumTitles().Single();
        }