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();
        }
示例#2
0
        public WhenComparingNumbers()
        {
            IRecordStore recordStore = new RecordStore();

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

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