package persistence

import (
	"testing"
)

func TestRuntimeOutboundIntentGenerationRequiresExactDecimalShape(t *testing.T) {
	expected := runtimeOutboundIntentGenerationRequiredColumns["Generation"]
	if expected != "decimal(20,0)" {
		t.Fatalf("generation column type = %q, want exact system-table DDL type", expected)
	}
	if !compatiblePhysicalColumnType("decimal(20,0)", expected) {
		t.Fatal("generation readiness rejects the exact system-table DDL type")
	}
}
