aboutsummaryrefslogtreecommitdiff
path: root/avnet/avnet_test.go
diff options
context:
space:
mode:
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
commitd0560b68aec9528181ba57f24f4eaa35401246bb (patch)
treeedb543dd39f50b0ae819e61bc9327b45cfb2ce79 /avnet/avnet_test.go
parente92c9886af82d5d9bc64b715677588e2643271bd (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.go16
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