Example #1
0
        public void TestCombine()
        {
            Win32Path FirstPath = new Win32Path(@"c:\users\jasonsch\desktop");
            Win32Path SecondPath = new Win32Path(@"subdir1\subdir2\foo.jpg");

            IPath CombinedPath = FirstPath.Combine(SecondPath);

            Assert.AreEqual(CombinedPath.ToString(), @"c:\users\jasonsch\desktop\subdir1\subdir2\foo.jpg");
        }