public void CharacterDecription_NonKeyboardChar() { int n = 129; char ch = (char)n; string actualOutput = ch.CharacterDecription(); Assert.AreEqual("(UNICODE codepoint 129)", actualOutput); }
public void CharacterDecription_NonKeyboardAsciiChar() { int n = 2; char ch = (char)n; string actualOutput = ch.CharacterDecription(); Assert.AreEqual("(ASCII control-code 2)", actualOutput); }
public void CharacterDecription_MyriadArgs(char ch, string expectedName) { string actualOutput = ch.CharacterDecription(); Assert.AreEqual(expectedName, actualOutput); }