gitee.com/quant1x/engine@v1.8.4/services/services_test.go (about)

     1  package services
     2  
     3  import (
     4  	"gitee.com/quant1x/engine/cache"
     5  	"gitee.com/quant1x/engine/factors"
     6  	"gitee.com/quant1x/gotdx"
     7  	"testing"
     8  )
     9  
    10  func TestGlobalReset(t *testing.T) {
    11  	_ = cleanExpiredStateFiles()
    12  	gotdx.ReOpen()
    13  	date := cache.DefaultCanUpdateDate()
    14  	factors.SwitchDate(date)
    15  }