test

package
v0.0.0-...-7fd84a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2018 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TEST_CONTEXT common.Context
View Source
var TEST_LOCK sync.Mutex
View Source
var TEST_USERNAME = "test"

Functions

func CleanupIntegrationTest

func CleanupIntegrationTest()

func CreateIntegrationTestContext

func CreateIntegrationTestContext(dotEnvDir, appRoot string) common.Context

func NewIntegrationTestContext

func NewIntegrationTestContext() common.Context

func NewUnitTestContext

func NewUnitTestContext() common.Context

Types

type StrategyTestHelper

type StrategyTestHelper struct{}

func (*StrategyTestHelper) CreateBalances

func (h *StrategyTestHelper) CreateBalances() []common.Coin

func (*StrategyTestHelper) CreateCandles

func (h *StrategyTestHelper) CreateCandles() []common.Candlestick

func (*StrategyTestHelper) CreateLastTrade

func (h *StrategyTestHelper) CreateLastTrade() common.Trade

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL