Пример #1
0
        public void OtoDom_Process_GetCorrectArea()
        {
            var processor = new OtoDomDataProcessor();

            var result = processor.Process(_data);

            Assert.AreEqual(_expectedArea, result.Area);
        }
Пример #2
0
        public void OtoDom_Process_GetCorrectBonusCost()
        {
            var processor = new OtoDomDataProcessor();

            var result = processor.Process(_data);

            Assert.AreEqual(_expectedBonusCost, result.BonusCost);
        }
Пример #3
0
        public void OtoDom_Process_GetCorrectLongitude()
        {
            var processor = new OtoDomDataProcessor();

            var result = processor.Process(_data);

            Assert.AreEqual(_expectedLongitude, result.Longitude);
        }
Пример #4
0
        public void OtoDom_Process_GetCorrectDateOfScraping()
        {
            var processor = new OtoDomDataProcessor();

            var result = processor.Process(_data);

            Assert.AreEqual(DateTime.Now.ToString("dd.MM.yyyy"), result.DateOfScraping);
        }
Пример #5
0
        public void OtoDom_Process_GetCorrectDateOfPosting()
        {
            var processor = new OtoDomDataProcessor();

            var result = processor.Process(_data);

            Assert.AreEqual(_expectedDateOfPosting, result.DateOfPosting);
        }
Пример #6
0
        public void OtoDom_Process_GetCorrectDistrict()
        {
            var processor = new OtoDomDataProcessor();

            var result = processor.Process(_data);

            Assert.AreEqual(_expectedDistrict, result.District);
        }