func initTestServer() (s *OpencxAuctionServer, err error) {

	testDB := new(cxdbmemory.CXDBMemory)
	if err = testDB.SetupClient(testCoins); err != nil {
		err = fmt.Errorf("Error setting up db client for tests: %s", err)
		return
	}

	// Initialize the test server
	if s, err = InitServer(testDB, testOrderChanSize, testStandardAuctionTime); err != nil {
		err = fmt.Errorf("Error initializing server for tests: %s", err)
		return
	}

	return
}
// initTestServer initializes the server. This is mostly setting up the db
initTestServer initializes the server. This is mostly setting up the db
// initTestServer initializes the server . This is mostly setting up the db
func initTestServer() (s *OpencxAuctionServer, err error) {
	testDB := new(cxdbmemory.CXDBMemory)
	if err = testDB.SetupClient(testCoins); err != nil {
		err = fmt.Errorf("Error setting up db client for tests: %s", err)
		return
	}
	if s, err = InitServer(testDB, testOrderChanSize, testStandardAuctionTime); err != nil {
		err = fmt.Errorf("Error initializing server for tests: %s", err)
		return
	}
	return
}
func initTestServer ( ) ( s * OpencxAuctionServer , err error ) { testDB := new ( cxdbmemory . CXDBMemory ) if err = testDB . SetupClient ( testCoins ) ; err != nil { err = fmt . Errorf ( " " , err ) return } if s , err = InitServer ( testDB , testOrderChanSize , testStandardAuctionTime ) ; err != nil { err = fmt . Errorf ( " " , err ) return } return }
initTestServer initializes the server.
initTestServer initializes the server .
// Initialize the test server