diff options
Diffstat (limited to 'nizk/vickrey_test.go')
-rw-r--r-- | nizk/vickrey_test.go | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/nizk/vickrey_test.go b/nizk/vickrey_test.go index 55c4dfa..089e389 100644 --- a/nizk/vickrey_test.go +++ b/nizk/vickrey_test.go @@ -100,8 +100,6 @@ func runVickrey(n int, bitlength int, tb testing.TB) { for idx := range bitlength { for i := range n { if i == winner { - c[i] = nil - bj[i] = nil Xs[i] = Id Zs[i] = Id continue @@ -189,12 +187,21 @@ func runVickrey(n int, bitlength int, tb testing.TB) { } } -func TestAuction4on6bit(t *testing.T) { runSeal(4, 6, t) } - -// func TestAuction100on24bit(t *testing.T) { runSeal(100, 24, t) } +func TestSeal4on6bit(t *testing.T) { runSeal(4, 6, t) } +func TestSeal100on24bit(t *testing.T) { + if testing.Short() { + t.Skip("skipping vickrey 100, 16") + } + runSeal(100, 24, t) +} -func TestVickrey4on6bit(t *testing.T) { runVickrey(4, 6, t) } -func TestVickrey100on16bit(t *testing.T) { runVickrey(100, 16, t) } +func TestVickrey4on6bit(t *testing.T) { runVickrey(4, 6, t) } +func TestVickrey100on16bit(t *testing.T) { + if testing.Short() { + t.Skip("skipping vickrey 100, 16") + } + runVickrey(100, 16, t) +} func BenchmarkVickrey100on24bit(b *testing.B) { for range b.N { runVickrey(100, 24, b) |