Exemple #1
0
        public void TestFromPath_windows()
        {
            Assume.That(RuntimeInformation.IsOSPlatform(OSPlatform.Windows));

            Assert.AreEqual(
                "/absolute/path", AbsoluteUnixPath.FromPath(Paths.Get("T:\\absolute\\path")).ToString());
        }
Exemple #2
0
 public void TestFromPath()
 {
     Assert.AreEqual(
         "/absolute/path", AbsoluteUnixPath.FromPath(Paths.Get("/absolute/path")).ToString());
 }
Exemple #3
0
 internal AbsoluteUnixPath ToAbsolutePath()
 {
     return(AbsoluteUnixPath.FromPath(this));
 }