// Copyright 2013-2014 Fuzamei tech Ltd. All rights reserved. package tick import ( "log" //"market" "testing" ) func TestCFix(t *testing.T) { conf := &DsConf{ CfgFile: "SessionCfgMk.cfg", } ds, err := newCFixDS(conf) if err != nil { t.Fatal(err) } go ds.Run() chmk := ds.GetMarket() for mk := range chmk { log.Println(mk) } log.Println("@@@@@@@:go here") }