You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package kzgceremony
|
|
|
|
import (
|
|
"testing"
|
|
|
|
qt "github.com/frankban/quicktest"
|
|
)
|
|
|
|
func TestContribute(t *testing.T) {
|
|
c := qt.New(t)
|
|
|
|
srs_0 := newEmptySRS(10, 10)
|
|
|
|
contr_1, err := Contribute(srs_0, []byte("1111111111111111111111111111111111111111111111111111111111111111"))
|
|
c.Assert(err, qt.IsNil)
|
|
|
|
_, err = Contribute(contr_1.SRS, []byte("2222222222222222222222222222222222222222222222222222222222222222"))
|
|
c.Assert(err, qt.IsNil)
|
|
}
|