Ejemplo n.º 1
0
        public void DownloadTest()
        {
            var logger = TestLogManager.Instance.GetLogger("B3ProviderTesting");
            //
            // TODO: Add test logic here
            //
            //var summary = BenchmarkRunner.Run<BenchmarkDownloader>();
            var stopWatch  = System.Diagnostics.Stopwatch.StartNew();
            var downloader = new B3Dowloader(@"c:\temp");
            var finalPath  = downloader.DownloadYearHistoricFile(2018, true);

            stopWatch.Stop();
            logger.Info(string.Format("downloaded in: {0:hh\\:mm\\:ss\\.fff}", stopWatch.Elapsed));
        }
Ejemplo n.º 2
0
        public void Download2()
        {
            var downloader = new B3Dowloader(@"c:\temp");

            downloader.DownloadYearHistoricFile(2018, true);
        }