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

            // Then
            top.Should().NotBeNull();
        }
コード例 #2
0
        public async Task GetMangaTop_NoParameter_ShouldParseTopManga()
        {
            MangaTop top = await jikan.GetMangaTop();

            Assert.NotNull(top);
        }
コード例 #3
0
ファイル: TopTestClass.cs プロジェクト: AllanJone/jikan.net
        public void ShouldParseTopManga()
        {
            MangaTop top = Task.Run(() => jikan.GetMangaTop()).Result;

            Assert.NotNull(top);
        }