public void Verify_DictionaryGrossCnt()
        {
            MovieDictionaryRepo mr = new MovieDictionaryRepo();
            mr.Init(MockMovieList, FirstField.Genre);

            Assert.NotNull(mr.MoneyGrossDictionary);
            Assert.Equal(2, mr.FindMoviesInGrossReceiptRange(1000, 1999));
        }
        public void Verify_Dictionary_GenreFirstLoads()
        {
            MovieDictionaryRepo mr = new MovieDictionaryRepo();
            mr.Init(MockMovieList, FirstField.Genre);

            mr.DictionaryByGenreThenYear.TryGetValue("Drama:Western", out Dictionary<long, List<Movie>> yearDict);

            yearDict.TryGetValue(2016, out List<Movie> MovieList);

            Assert.Equal(2, MovieList.Count);
        }
        public void Verify_Dictionary_YearFirstLoads()
        {
            MovieDictionaryRepo mr = new MovieDictionaryRepo();
            mr.Init(MockMovieList, FirstField.Year);

            Dictionary<string, List<Movie>> genreDict;
            mr.DictionaryByYearThenGenre.TryGetValue(2016, out genreDict);

            List<Movie> MovieList;
            genreDict.TryGetValue("Drama:Western", out MovieList);

            Assert.Equal(2, MovieList.Count);
        }