From 36d5880a30fc4894df6ef7686dac60368fb98653 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Wed, 24 Jun 2020 15:25:23 +0200 Subject: [PATCH] Remove TestElectionExp Signed-off-by: Jakub Sztandera --- chain/types/electionproof_test.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/chain/types/electionproof_test.go b/chain/types/electionproof_test.go index 4653b3fda..1c37dd03d 100644 --- a/chain/types/electionproof_test.go +++ b/chain/types/electionproof_test.go @@ -110,24 +110,6 @@ func TestElectionLam(t *testing.T) { } } -func TestElectionExp(t *testing.T) { - t.SkipNow() - const N = 256 - - step := big.NewInt(5) - step = step.Lsh(step, 256) // Q.256 - step = step.Div(step, big.NewInt(N-1)) - - f, _ := os.Create("exp.csv") - - x := big.NewInt(0) - for i := 0; i < N; i++ { - y := expneg(x) - fmt.Fprintf(f, "%s,%s\n", x, y) - x = x.Add(x, step) - } -} - var Res uint64 func BenchmarkWinCounts(b *testing.B) {