public void IdentifierCharTests( ) { Assert.AreEqual('_', IdentifierChar.Parse("_")); Assert.AreEqual('a', IdentifierChar.Parse("a")); Assert.AreEqual('A', IdentifierChar.Parse("A")); Assert.AreEqual('0', IdentifierChar.Parse("0")); Assert.AreEqual('9', IdentifierChar.Parse("9")); // Greek alphabet Unicode delta is considered a letter Assert.AreEqual('\u0394', IdentifierChar.Parse("\u0394")); }
public void IdentifierCharExceptionTest( ) { char result = IdentifierChar.Parse(":"); }