public void Zag_Decodes64BitZiggedValues(ulong encodedNumber, long expectedNumber) { var number = PbfBlock.Zag(encodedNumber); Assert.Equal(expectedNumber, number); }
public void Zag_Decodes32BitZiggedValues(uint encodedNumber, int expectedNumber) { var number = PbfBlock.Zag(encodedNumber); Assert.Equal(expectedNumber, number); }