private static void TestValue(IKey key, string fkey)
        {
            var url = key.GetFileUrl(fkey);


            var inverseKey = key.GetFileKeyFromFileUrl(url);
            //Assert.AreEqual(fkey, inverseKey);
            Assert.AreEqual(fkey.Substring(1), inverseKey.Substring(1));

            Assert.AreEqual(key.GetFileUrl(fkey), key.GetFileUrl(inverseKey));
        }
Exemple #2
0
        private static void TestValue(IKey key, string fkey)
        {
            var url = key.GetFileUrl(fkey);


            var inverseKey = key.GetFileKeyFromFileUrl(url);

            //Assert.AreEqual(fkey, inverseKey);
            Assert.AreEqual(fkey.Substring(1), inverseKey.Substring(1));

            Assert.AreEqual(key.GetFileUrl(fkey), key.GetFileUrl(inverseKey));
        }