Files
linea-monorepo/prover/protocol/wizard/builder_test.go
AlexandreBelling e63c730d6d Prover: switch the go import path to linea-monorepo (#20)
* switch the go import path to linea-monorepo
* address every occurence to zkevm-monorepo
2024-09-13 15:10:04 +02:00

22 lines
488 B
Go

package wizard_test
import (
"testing"
"github.com/consensys/linea-monorepo/prover/protocol/coin"
"github.com/consensys/linea-monorepo/prover/protocol/wizard"
"github.com/stretchr/testify/require"
)
func TestRound(t *testing.T) {
define := func(b *wizard.Builder) {
_ = b.RegisterCommit("P", 16)
x := b.RegisterRandomCoin("X", coin.Field)
require.Equal(t, 1, x.Round)
y := b.RegisterRandomCoin("Y", coin.Field)
require.Equal(t, 1, y.Round)
}
wizard.Compile(define)
}