public void TestEncodeUriWithAlphanumericCharactersAndWhitespace() { // Example from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI Assert.AreEqual("ABC%20abc%20123", JsGlobal.EncodeUri("ABC abc 123")); }
public void TestEncodeUriWithUnreservedCharacters() { // Example from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI Assert.AreEqual("-_.!~*'()", JsGlobal.EncodeUri("-_.!~*'()")); }