Esempio n. 1
0
        public async Task TestTvEpisodesScreenedTheatricallyAsync()
        {
            ResultContainer <TvEpisodeInfo> results = await TMDbClient.GetTvEpisodesScreenedTheatricallyAsync(IdHelper.GameOfThrones);

            TvEpisodeInfo single = results.Results.Single(s => s.Id == IdHelper.GameOfThronesSeason4Episode10);

            await Verify(single);
        }
        public void TestTvEpisodesScreenedTheatrically()
        {
            ResultContainer <TvEpisodeInfo> results = Config.Client.GetTvEpisodesScreenedTheatricallyAsync(IdHelper.GameOfThrones).Result;

            Assert.Equal(IdHelper.GameOfThrones, results.Id);

            TvEpisodeInfo single = results.Results.FirstOrDefault(s => s.Id == 63103);

            Assert.NotNull(single);
            Assert.Equal(4, single.SeasonNumber);
            Assert.Equal(10, single.EpisodeNumber);
        }