ds_chbtc_test.go 383 B

1234567891011121314151617181920212223
  1. // Copyright 2013-2014 Fuzamei tech Ltd. All rights reserved.
  2. package tick
  3. import (
  4. "log"
  5. //"market"
  6. "testing"
  7. )
  8. func TestChbtc(t *testing.T) {
  9. conf := &DsConf{}
  10. ds, _ := newChbtcDS(conf) //, err
  11. //if err != nil {
  12. //t.Fatal(err)
  13. //}
  14. go ds.Run()
  15. chmk := ds.GetMarket()
  16. for mk := range chmk {
  17. log.Println(mk)
  18. }
  19. log.Println("@@@@@@@:go here")
  20. }