tercul-backend/linguistics/factory_test.go
Damir Mukimov fa336cacf3
wip
2025-09-01 00:43:59 +02:00

14 lines
325 B
Go

package linguistics
import (
"github.com/stretchr/testify/require"
"testing"
)
func TestFactory_WiresProviders(t *testing.T) {
// We won't spin a DB/cache here; this is a smoke test of wiring methods
f := NewLinguisticsFactory(nil, nil, 2, true)
ta := f.GetTextAnalyzer().(*BasicTextAnalyzer)
require.NotNil(t, ta)
}