Exemplo n.º 1
0
        public async Task TestLoadJPNGame()
        {
            //https://www.dlsite.com/maniax/work/=/product_id/RJ173356.html
            var game = await DLSiteGame.LoadGame("RJ173356", _logger);

            TestGame(game);
        }
Exemplo n.º 2
0
        public async Task TestLoadENGGame()
        {
            //https://www.dlsite.com/ecchi-eng/work/=/product_id/RE234198.html
            var game = await DLSiteGame.LoadGame("RE234198", _logger);

            TestGame(game);
        }
Exemplo n.º 3
0
 private static void TestGame(DLSiteGame game)
 {
     Assert.NotNull(game);
     Assert.NotNull(game.DLSiteLink);
     Assert.NotNull(game.Name);
     Assert.NotNull(game.Description);
     Assert.NotNull(game.Circle);
     Assert.NotNull(game.CircleLink);
     Assert.NotNull(game.Genres);
     Assert.NotEmpty(game.Genres);
     Assert.NotNull(game.ImageURLs);
     Assert.NotEmpty(game.ImageURLs);
 }