public void TestString() { string expValue = "MetalCore"; byte[] data = new byte[] { 0x03, 0x4D, 0x65, 0x74, 0x61, 0x6C, 0x43, 0x6F, 0x72, 0x65 }; ContentTypeFrame test = new ContentTypeFrame(ffs, data); Assert.AreEqual(expValue, test.ToString()); }
public void TestNumber() { string expValue = "Metal"; byte[] data = new byte[] { 0x00, 0x28, 0x39, 0x29 }; ContentTypeFrame test = new ContentTypeFrame(ffs, data); Assert.AreEqual(expValue, test.ToString()); }