public void Numbers_decimalNullable_Normal(decimal?number) { ResetBois(); NumericSerializers.WriteVarDecimal(Writer, number); ResetStream(); var final = NumericSerializers.ReadVarDecimalNullable(Reader); final.Should().Be(number); }
public void Numbers_float_Normal(float number) { ResetBois(); NumericSerializers.WriteVarDecimal(Writer, number); ResetStream(); var final = NumericSerializers.ReadVarSingle(Reader); final.Should().Be(number); }