func TestUnmarshalFull(t *testing.T) { record := ff.Number{} err := record.UnmarshalJSON([]byte(numberJson)) if err != nil { t.Fatalf("UnmarshalJSON: %v", err) } }
func TestUnmarshalEmpty(t *testing.T) { record := ff.Number{} err := record.UnmarshalJSON([]byte(`{}`)) if err != nil { t.Fatalf("UnmarshalJSON: %v", err) } }