public void Numbers_ulong_Normal(ulong number) { ResetBois(); NumericSerializers.WriteVarInt(Writer, number); ResetStream(); var final = NumericSerializers.ReadVarUInt64(Reader); final.Should().Be(number); }
public void Numbers_IntNullable_Normal(int?number) { ResetBois(); NumericSerializers.WriteVarInt(Writer, number); ResetStream(); var final = NumericSerializers.ReadVarInt32Nullable(Reader); final.Should().Be(number); }
public void Numbers_short_Normal(short number) { ResetBois(); NumericSerializers.WriteVarInt(Writer, number); ResetStream(); var final = NumericSerializers.ReadVarInt16(Reader); final.Should().Be(number); }