package test
import "go.cryptoscope.co/margaret/test"
Index ¶
- Variables
- func LogTest(f NewLogFunc) func(*testing.T)
- func LogTestConcurrent(f NewLogFunc) func(*testing.T)
- func LogTestGet(f NewLogFunc) func(*testing.T)
- func LogTestSimple(f NewLogFunc) func(*testing.T)
- func Register(name string, f NewLogFunc)
- func RunTests(t *testing.T)
- type NewCodecFunc
- type NewLogFunc
- Bugs
Variables ¶
var NewLogFuncs map[string]NewLogFunc
Functions ¶
func LogTest ¶
func LogTest(f NewLogFunc) func(*testing.T)
func LogTestConcurrent ¶
func LogTestConcurrent(f NewLogFunc) func(*testing.T)
func LogTestGet ¶
func LogTestGet(f NewLogFunc) func(*testing.T)
func LogTestSimple ¶
func LogTestSimple(f NewLogFunc) func(*testing.T)
func Register ¶
func Register(name string, f NewLogFunc)
func RunTests ¶
Types ¶
type NewCodecFunc ¶
NewCodecFunc is a function that returns a codec
type NewLogFunc ¶
Bugs ¶
☞ the iterators needs to be improved to handle these correctly (https://github.com/cryptoscope/margaret/issues/6) { name: "reverse and gte", tipe: 0, values: []interface{}{1, 2, 3, 4, 5}, result: []interface{}{5, 4, 3, 2}, specs: []margaret.QuerySpec{margaret.Reverse(true), margaret.Gte(int64(2))}, },
Source Files ¶
codec.go concurrent.go get.go main.go registry.go simple.go
Directories ¶
Path | Synopsis |
---|---|
test/all |
- Version
- v0.4.3 (latest)
- Published
- Feb 17, 2022
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 1 hour ago –
Tools for package owners.