Apache.NMS.Test.EndianTest.TestNegativeShortEndian C# (CSharp) Method

TestNegativeShortEndian() private method

private TestNegativeShortEndian ( ) : void
return void
        public void TestNegativeShortEndian()
        {
            short value = -0x1234;
            short newValue = EndianSupport.SwitchEndian(value);
            short actual = EndianSupport.SwitchEndian(newValue);
            Assert.AreEqual(value, actual);
        }