示例#1
0
        public async Task GetMangaPictures_MonsterId_ShouldParseMonsterImages()
        {
            // When
            var monster = await _jikan.GetMangaPictures(1);

            // Then
            monster.Pictures.Should().HaveCount(8);
        }
        public async Task GetMangaPictures_MonsterId_ShouldParseMonsterImages()
        {
            MangaPictures monster = await jikan.GetMangaPictures(1);

            Assert.Equal(8, monster.Pictures.Count);
        }
示例#3
0
        public void ShouldParseMonsterImages()
        {
            MangaPictures monster = Task.Run(() => jikan.GetMangaPictures(1)).Result;

            Assert.Equal(8, monster.Pictures.Count);
        }