public void TestATLongValueToUInt32() { var value = new ATLongValue(0x11223344); Assert.That(value, Is.TypeOf <ATLongValue>()); Assert.That(value.ToByteArray(), Is.EqualTo(new byte[] { 0x11, 0x22, 0x33, 0x44 })); }
public void TestATLongValueToByte() { var value = new ATLongValue(0x11); Assert.That(value, Is.TypeOf <ATLongValue>()); Assert.That(value.ToByteArray(), Is.EqualTo(new byte[] { 0x11 })); }