public void UnpackSimpleStructExt() { var packedAndBroughtBack = new LongBoolShort().Unpack(new LongBoolShort().Pack()); packedAndBroughtBack.Should().BeEquivalentTo(Packer.NativeUnpack <LongBoolShort>(Packer.NativePack(new LongBoolShort()))); }
public void CalcSizeNativeExt() { var nativeSize = new LongBoolShort().CalcSize(); nativeSize.Should().IsSameOrEqualTo(Packer.NativeCalcSize <LongBoolShort>()); }