rts-sim-testing-service/dynamics/http_test.go

18 lines
271 B
Go

package dynamics
import (
"joylink.club/bj-rtsts-server/config"
"testing"
)
func TestSendTrainInitReq(t *testing.T) {
config.LoadConfig()
SendTrainInitReq(&InitTrainInfo{
TrainIndex: 1,
LinkIndex: 2,
LinkOffset: 3,
Speed: 4,
Up: true,
})
}