Exemplo n.º 1
0
        public void CanGetSubPath(string first, string second, bool ignoreCase, string expected)
        {
            var v1   = new VirtualPath(first);
            var v2   = new VirtualPath(second);
            var diff = v1.GetSubPath(v2, ignoreCase);

            if (expected == null)
            {
                Assert.IsNull(diff);
            }
            else
            {
                Assert.AreEqual(expected, diff.ToString());
            }
        }