Exemplo n.º 1
0
        public void FindLayerLengthTest()
        {
            string url            = "https://www.cnblogs.com/dstang2000/zhong/sheng.html/";
            int    expectedResult = 3;

            int testResult = UrlService.FindLayerLength(url);

            Assert.AreEqual(expectedResult, testResult);
        }