public void ReadSInt32_Minus1() { var encoder = new ClassicDecoder(StringToBuffer("04-00-FF-FF-FF-FF")); Assert.AreEqual(-1, encoder.ReadSInt32()); }
public void ReadSInt32_1() { var encoder = new ClassicDecoder(StringToBuffer("04-00-01-00-00-00")); Assert.AreEqual(1, encoder.ReadSInt32()); }