Remove TestElectionExp

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-06-24 15:25:23 +02:00
parent 19ed695811
commit 36d5880a30
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -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) {