Example #1
0
        public void Method_Returns_G4M_Danish_Price()
        {
            IDanishSite site = G4factory.CreateDanishSite();
            var         url  = site.ScrapeUrl("888");
            decimal     result;
            bool        valid = decimal.TryParse(site.ScrapeDanishInfo("http://www.gear4music.dk/en" + url), out result);

            Assert.IsTrue(valid);
        }
Example #2
0
        public void Method_Returns_Danish_Price()
        {
            IDanishSite tmanDk = TmanFactory.CreateDanishSite();

            model.Url = tmanDk.ScrapeUrl("246474");
            decimal result;
            bool    valid = decimal.TryParse(tmanDk.ScrapeDanishInfo(model.Url), out result);

            Assert.IsTrue(valid);
        }