public void ReadSInt16_1() { var encoder = new ClassicDecoder(StringToBuffer("02-00-01-00")); Assert.AreEqual(1, encoder.ReadSInt16()); }
public void ReadSInt16_Minus1() { var encoder = new ClassicDecoder(StringToBuffer("02-00-FF-FF")); Assert.AreEqual(-1, encoder.ReadSInt16()); }