예제 #1
0
        public static void GetAbsoluteUri_File_Complex()
        {
            string url = ComicUpdater.GetAbsoluteUri("file:///C:/Comics/Comic1/comic/archive.html", "comic/page-1.html");

            Assert.AreEqual("file:///C:/Comics/Comic1/comic/page-1.html", url);
        }
예제 #2
0
        public static void GetAbsoluteUri_Https_Custom()
        {
            string url = ComicUpdater.GetAbsoluteUri("https://www.example.com/comic/archive", "page-1");

            Assert.AreEqual("https://www.example.com/comic/page-1", url);
        }