Beispiel #1
0
        public void TestUnescapeWithUriEncoding()
        {
            // Example from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/unescape

            Assert.AreEqual("äöü", JsGlobal.Unescape("%E4%F6%FC"));
        }
Beispiel #2
0
        public void TestUnescapeWithAsciiString()
        {
            // Example from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/unescape

            Assert.AreEqual("abc123", JsGlobal.Unescape("abc123"));
        }