예제 #1
0
        public void RestoreIpAddressesTest1()
        {
            var test     = new P0093_RestoreIpAddresses();
            var actual   = test.RestoreIpAddresses("0000");
            var expected = new List <string> {
                "0.0.0.0"
            };

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void RestoreIpAddressesTest()
        {
            var test     = new P0093_RestoreIpAddresses();
            var actual   = test.RestoreIpAddresses("25525511135");
            var expected = new List <string> {
                "255.255.11.135", "255.255.111.35"
            };

            Assert.AreEqual(expected, actual);
        }