Exemplo n.º 1
0
 [TestCase("A1B2", false)]         // Valid script code that will is unlikely to be registered
 public void VerifyAddedPrivateUseScriptsMarkedProperly(string scriptCode, bool expectedValue)
 {
     StandardSubtags.RegisteredScripts.Remove(scriptCode);
     StandardSubtags.AddScript(scriptCode, "description");
     Assert.AreEqual(StandardSubtags.RegisteredScripts[scriptCode].IsPrivateUse, expectedValue);
     StandardSubtags.RegisteredScripts.Remove(scriptCode);
 }