tests

package
v0.2011.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package tests is a collection of epochtime implementation test cases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EpochtimeSetableImplementationTest

func EpochtimeSetableImplementationTest(t *testing.T, backend api.Backend)

EpochtimeSetableImplementationTest exercises the basic functionality of a setable (mock) epochtime backend.

func MustAdvanceEpoch

func MustAdvanceEpoch(t *testing.T, backend api.SetableBackend, increment uint64) api.EpochTime

MustAdvanceEpoch advances the epoch by the specified increment, and returns the new epoch.

Types

This section is empty.

Jump to

Keyboard shortcuts

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