예제 #1
0
 public void ScfCode_CanDeriveFromZipCode()
 {
     var zipcode = new ZipCode { Id = "17011" };
     Assert.Equal("170", zipcode.ScfCode);
 }
예제 #2
0
 public void ScfCode_NoErrorOnNullId()
 {
     var zipcode = new ZipCode { Id = null };
     Assert.Equal(string.Empty, zipcode.ScfCode);
 }