test

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCircuit

func CheckCircuit(rc *layered.RootCircuit, witness *irwg.Witness) bool

check if first output is zero

func CheckCircuitMultiWitness

func CheckCircuitMultiWitness(rc *layered.RootCircuit, witness *irwg.Witness) []bool

func EvalCircuit

func EvalCircuit(rc *layered.RootCircuit, witness *irwg.Witness) []*big.Int

Types

type Assert

type Assert struct {
	// contains filtered or unexported fields
}

func NewAssert

func NewAssert(t *testing.T) *Assert

func (*Assert) ProveFailed

func (a *Assert) ProveFailed(cr *ecgo.CompileResult, assignment frontend.Circuit)

func (*Assert) ProveSucceeded

func (a *Assert) ProveSucceeded(cr *ecgo.CompileResult, assignment frontend.Circuit)

Jump to

Keyboard shortcuts

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