コード例 #1
0
        public void EnsureThat_FsUtils_GetRelativePathRelativeTo_Works(string absolute, string relative, string expected)
        {
            var source     = new FsPath(absolute);
            var relativeTo = new FsPath(relative);

            var result = source.GetRelativePathRelativeTo(relativeTo);

            Assert.AreEqual(expected, result.ToString());
        }