コード例 #1
0
        public bool Select_IfNumberOfMoviesRatedForTheUserIsAboveOrEqualToTen_StopMenu(int numberOfMoviesRated)
        {
            ColdStart coldstart = new ColdStart("");

            User.NumberOfMoviesRated = numberOfMoviesRated;
            coldstart.UnitTest       = true;
            coldstart.Select();
            return(coldstart.FirstStart);
        }
コード例 #2
0
        public int Select_GeneratedMoviesPerNextPage_NumberOfMovies(int page)
        {
            List <int> list     = new List <int>();
            ColdStart  nextPage = new ColdStart("", list);

            for (int i = 0; i < page; i++)
            {
                nextPage          = new ColdStart("", list);
                nextPage.UnitTest = true;
                nextPage.Select();
            }

            return(nextPage.UsedNumbers.Count);
        }