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); }