public async Task GetMangaRecommendation_BerserkId_ShouldParseBerserkRecommendations() { Recommendations berserk = await jikan.GetMangaRecommendations(2); //Claymore Assert.Equal(583, berserk.RecommendationCollection.First().MalId); Assert.True(berserk.RecommendationCollection.First().RecommendationCount > 25); Assert.True(berserk.RecommendationCollection.Count > 90); }
public async Task GetMangaRecommendation_BerserkId_ShouldParseBerserkRecommendations() { // When var berserk = await _jikan.GetMangaRecommendations(2); // Then using (new AssertionScope()) { //Claymore berserk.RecommendationCollection.First().MalId.Should().Be(583); berserk.RecommendationCollection.First().RecommendationCount.Should().BeGreaterThan(25); berserk.RecommendationCollection.Count.Should().BeGreaterThan(90); } }