Documentation
¶
Index ¶
- func TestConsensusParams(t *testing.T, s store.Store)
- func TestLastEvent(t *testing.T, s store.Store)
- func TestOrders(t *testing.T, s store.Store)
- func TestPoster(t *testing.T, s store.Store)
- func TestRoundInfo(t *testing.T, s store.Store)
- func TestSuite(t *testing.T, f Factory)
- func TestValidator(t *testing.T, s store.Store)
- func TestWitness(t *testing.T, s store.Store)
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestConsensusParams ¶
TestConsensusParams verifies the ConsensusParams storage behavior
func TestLastEvent ¶
TestLastEvent verifies the LastEvent storage behavior
func TestOrders ¶
TestOrders creates `total` orders keeping up to `limit` orders.
func TestPoster ¶
TestPoster verifies the Poster storage behavior
func TestRoundInfo ¶
TestRoundInfo verifies the RoundInfo storage behavior
func TestSuite ¶
TestSuite tests an entire store needed to implement a store.Store. Any implementation needs to pass this TestSuite
func TestValidator ¶
TestValidator verifies the Validator storage behavior
Types ¶
Click to show internal directories.
Click to hide internal directories.