diff options
author | Özgür Kesim <oec@kesim.org> | 2024-03-19 21:08:48 +0100 |
---|---|---|
committer | Özgür Kesim <oec@kesim.org> | 2024-03-19 21:08:48 +0100 |
commit | d0560b68aec9528181ba57f24f4eaa35401246bb (patch) | |
tree | edb543dd39f50b0ae819e61bc9327b45cfb2ce79 /avnet/avnet_test.go | |
parent | e92c9886af82d5d9bc64b715677588e2643271bd (diff) |
vote: proof generation and verification added
Generation of a Commitment is implemented, together with the
generation and verification of proofs, i.e. their Schnorr's signatures
Diffstat (limited to 'avnet/avnet_test.go')
-rw-r--r-- | avnet/avnet_test.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/avnet/avnet_test.go b/avnet/avnet_test.go deleted file mode 100644 index 8800b8b..0000000 --- a/avnet/avnet_test.go +++ /dev/null @@ -1,16 +0,0 @@ -package avnet - -import ( - "testing" -) - -func TestRound(t *testing.T) { - v, e := newVoteWithRand(false, nil) - - if e != nil { - t.Fatalf("unexpected error: %v", e) - } - if v.bit { - t.Fatal("expected vote false, but got true") - } -}
\ No newline at end of file |