public static void ReverseByteOrderExtension_UInt16_Test() { UInt16 origin = 0xABCD; UInt16 test = origin.ReverseByteOrder(false); Assert.AreEqual(test, origin); test = origin.ReverseByteOrder(true); Assert.AreEqual(test, 0xCDAB); }