mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete * 2.1.0 main node rollup
29 lines
332 B
Go
29 lines
332 B
Go
//
|
|
// parser_test.go
|
|
//
|
|
// Copyright (c) 2019-2023 Markku Rossi
|
|
//
|
|
// All rights reserved.
|
|
//
|
|
|
|
package circuit
|
|
|
|
import (
|
|
"bytes"
|
|
"testing"
|
|
)
|
|
|
|
var data = `1 3
|
|
2 1 1
|
|
1 1
|
|
|
|
2 1 0 1 2 AND
|
|
`
|
|
|
|
func TestParse(t *testing.T) {
|
|
_, err := ParseBristol(bytes.NewReader([]byte(data)))
|
|
if err != nil {
|
|
t.Fatalf("Parse failed: %s", err)
|
|
}
|
|
}
|