package service

import (
	"sync"
	"testing"

	"gorm.io/gorm/schema"
)

func TestAnalysisModelConfigIgnoresComputedPricing(t *testing.T) {
	_, err := schema.Parse(&analysisModelConfig{}, &sync.Map{}, schema.NamingStrategy{})
	if err != nil {
		t.Fatalf("parse analysis model config: %v", err)
	}
}

func TestScriptAnalysisModelConfigIgnoresComputedPricing(t *testing.T) {
	_, err := schema.Parse(&scriptAnalysisModelConfig{}, &sync.Map{}, schema.NamingStrategy{})
	if err != nil {
		t.Fatalf("parse script analysis model config: %v", err)
	}
}
