aboutsummaryrefslogtreecommitdiffstats
path: root/dagger_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-16 06:32:30 +0800
committerobscuren <geffobscura@gmail.com>2014-01-16 06:32:30 +0800
commit4ea93eba501cf996395e4c0829e21cab77267cf9 (patch)
treec33e0b3294ac3338426c818ecf35dcbae69e38e0 /dagger_test.go
parent44900e363cbc81b640bc16bcc7e6a50c22352be4 (diff)
downloadgo-tangerine-4ea93eba501cf996395e4c0829e21cab77267cf9.tar
go-tangerine-4ea93eba501cf996395e4c0829e21cab77267cf9.tar.gz
go-tangerine-4ea93eba501cf996395e4c0829e21cab77267cf9.tar.bz2
go-tangerine-4ea93eba501cf996395e4c0829e21cab77267cf9.tar.lz
go-tangerine-4ea93eba501cf996395e4c0829e21cab77267cf9.tar.xz
go-tangerine-4ea93eba501cf996395e4c0829e21cab77267cf9.tar.zst
go-tangerine-4ea93eba501cf996395e4c0829e21cab77267cf9.zip
Updated tests
Diffstat (limited to 'dagger_test.go')
-rw-r--r--dagger_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/dagger_test.go b/dagger_test.go
index 58cdd6afd..616577a39 100644
--- a/dagger_test.go
+++ b/dagger_test.go
@@ -1,13 +1,14 @@
package main
import (
+ "github.com/ethereum/ethutil-go"
"math/big"
"testing"
)
func BenchmarkDaggerSearch(b *testing.B) {
hash := big.NewInt(0)
- diff := BigPow(2, 36)
+ diff := ethutil.BigPow(2, 36)
o := big.NewInt(0) // nonce doesn't matter. We're only testing against speed, not validity
// Reset timer so the big generation isn't included in the benchmark