示例#1
0
        public void LocalizationTest2()
        {
            int zipCode = 0;
            IGeocoderAdapter localizationMgr = new GeocoderAdapter();
            string           address         = "Direccion inexistente";

            zipCode = localizationMgr.GetZipCodeFromAddress(address);
        }
示例#2
0
        public void LocalizationTest3()
        {
            int zipCode = 0;
            IGeocoderAdapter localizationMgr = new GeocoderAdapter();
            string           address         = "Pocitos Montevideo";

            zipCode = localizationMgr.GetZipCodeFromAddress(address);

            Assert.AreEqual(11300, zipCode);
        }
示例#3
0
        public void LocalizationTest1()
        {
            int zipCode = 0;
            IGeocoderAdapter localizationMgr = new GeocoderAdapter();
            string           address         = "Cuareim 1451";

            zipCode = localizationMgr.GetZipCodeFromAddress(address);

            Assert.AreEqual(11100, zipCode);
        }