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