예제 #1
0
        public void DropProtocolTest()
        {
            string url            = "https://www.cnblogs.com/dstang2000/zhong/sheng";
            string expectedResult = "www.cnblogs.com/dstang2000/zhong/sheng";

            string testResult = UrlService.DropProtocol(url);

            Assert.AreEqual(expectedResult, testResult);
        }