public void OTTagToStringTest() { OTTag target = new OTTag(new byte[4] { 97, 98, 99, 100 }); string expected = "abcd"; string actual; actual = target.ToString(); Assert.AreEqual(expected, actual, "Error: unexpected value"); target = new OTTag(new byte[4] { 97, 98, 99, 255 }); expected = "abcÿ"; actual = target.ToString(); Assert.AreEqual(expected, actual, "Error: unexpected value"); }