Files
moxa/stdlib/go1_19_testing_quick.go
Marc Vertes 0e3ea5732a update to go1.20
* update to go1.20

* lint

* fix: ci

---------

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-03 14:32:05 +01:00

42 lines
1.2 KiB
Go

// Code generated by 'yaegi extract testing/quick'. DO NOT EDIT.
//go:build go1.19 && !go1.20
// +build go1.19,!go1.20
package stdlib
import (
"math/rand"
"reflect"
"testing/quick"
)
func init() {
Symbols["testing/quick/quick"] = map[string]reflect.Value{
// function, constant and variable definitions
"Check": reflect.ValueOf(quick.Check),
"CheckEqual": reflect.ValueOf(quick.CheckEqual),
"Value": reflect.ValueOf(quick.Value),
// type definitions
"CheckEqualError": reflect.ValueOf((*quick.CheckEqualError)(nil)),
"CheckError": reflect.ValueOf((*quick.CheckError)(nil)),
"Config": reflect.ValueOf((*quick.Config)(nil)),
"Generator": reflect.ValueOf((*quick.Generator)(nil)),
"SetupError": reflect.ValueOf((*quick.SetupError)(nil)),
// interface wrapper definitions
"_Generator": reflect.ValueOf((*_testing_quick_Generator)(nil)),
}
}
// _testing_quick_Generator is an interface wrapper for Generator type
type _testing_quick_Generator struct {
IValue interface{}
WGenerate func(rand *rand.Rand, size int) reflect.Value
}
func (W _testing_quick_Generator) Generate(rand *rand.Rand, size int) reflect.Value {
return W.WGenerate(rand, size)
}