Exemplo n.º 1
0
        public void NoFieldIsSet()
        {
            ZipCodeLocationSearchParams locParam = new ZipCodeLocationSearchParams();

            Assert.False(locParam.IsFieldSet("ZipCode"));
            Assert.False(locParam.IsFieldSet("ZipRadius"));
        }
Exemplo n.º 2
0
        public void GetAndSetZipRadius()
        {
            ZipCodeLocationSearchParams locParam = new ZipCodeLocationSearchParams();

            locParam.ZipRadius = 100;
            Assert.True(locParam.IsFieldSet("ZipRadius"));
            Assert.Equal("100", locParam.GetFieldAsString("ZipRadius"));
        }
Exemplo n.º 3
0
        public void GetAndSetZipCode()
        {
            ZipCodeLocationSearchParams locParam = new ZipCodeLocationSearchParams();

            locParam.ZipCode = "20852";
            Assert.True(locParam.IsFieldSet("ZipCode"));
            Assert.Equal("20852", locParam.GetFieldAsString("ZipCode"));
        }