dbtest
v1.21.5
github.com/luxfi/database/heightindexdb/dbtest
Documentation
pkg.go.dev ↗Functions
TestSuite
func TestSuite(t *testing.T, newDB func() database.HeightIndex)
TestSuite runs a comprehensive test suite against any HeightIndex implementation. This allows all HeightIndex implementations to be tested consistently.