func TestTypeNumeric_zeroScale(t *testing.T) { expected := "NUMERIC(100)" got := pqt.TypeNumeric(100, 0) assertType(t, expected, got) }
func TestTypeNumeric(t *testing.T) { expected := "NUMERIC(100,2)" got := pqt.TypeNumeric(100, 2) assertType(t, expected, got) }
func TestTypeNumeric_zeroPrecisionZeroScale(t *testing.T) { expected := "NUMERIC" got := pqt.TypeNumeric(0, 0) assertType(t, expected, got) }