Esempio n. 1
0
        public void TestMethod6()
        {
            // stock by Toyota
            string code = "7203.T";

            Task.Run(async() =>
            {
                int res = await ScrapingService.GetFinancePriceAsync(code);
                Console.WriteLine($"stock price : {res}");
                Assert.IsTrue(res > 4000);
            }).GetAwaiter().GetResult();
        }