Exemple #1
0
        public void TestNull()
        {
            var zipCode = TWZipCode.GetZipCode(null, null);

            Assert.AreEqual(null, zipCode);
        }
Exemple #2
0
        public void TestMatch()
        {
            var zipCode = TWZipCode.GetZipCode("台北市", "信義區");

            Assert.AreEqual("110", zipCode);
        }
Exemple #3
0
        public void TestNotFound()
        {
            var zipCode = TWZipCode.GetZipCode("台北市", "文德路");

            Assert.AreEqual(null, zipCode);
        }