コード例 #1
0
ファイル: MangaExtendedTests.cs プロジェクト: N0D4N/jikan.net
        public async Task GetMangaMoreInfo_BerserkId_ShouldParseBerserkMoreInfo()
        {
            // When
            var berserk = await _jikan.GetMangaMoreInfo(2);

            berserk.Info.Should().Contain("The Prototype (1988)");
        }
コード例 #2
0
        public async Task GetMangaMoreInfo_BerserkId_ShouldParseBerserkMoreInfo()
        {
            MoreInfo berserk = await jikan.GetMangaMoreInfo(2);

            Assert.Contains("The Prototype (1988)", berserk.Info);
        }
コード例 #3
0
        public void ShouldParseBerserkMoreInfo()
        {
            MoreInfo berserk = Task.Run(() => jikan.GetMangaMoreInfo(2)).Result;

            Assert.Contains("The Prototype (1988)", berserk.Info);
        }