Files
gocryptotrader/gctscript/modules/ta/ta_test.go
suranmiao 78382afb14 refactor: use reflect.TypeFor instead of reflect.TypeOf and improve related tests (#2101)
* refactor: using reflect.TypeFor

Signed-off-by: suranmiao <solsui@outlook.com>

* refactor: remove unused reflect.TypeFor calls and improve test assertions

* refactor: simplify TestSetup by removing reflect.TypeFor

* test: enhance test assertions and improve parallel execution in TestSetup

---------

Signed-off-by: suranmiao <solsui@outlook.com>
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io>
2025-12-10 10:54:54 +11:00

12 lines
192 B
Go

package ta
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestGetModuleMap(t *testing.T) {
require.Len(t, AllModuleNames(), 9, "AllModuleNames must return 9 modules")
}