aboutsummaryrefslogtreecommitdiffstats
path: root/dagger_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-24 03:16:52 +0800
committerobscuren <geffobscura@gmail.com>2014-01-24 03:16:52 +0800
commit477e8a7a73820ece05bbb990607a1919d3788960 (patch)
treec13d1d7f709f0934b54ef10377e671446d165db7 /dagger_test.go
parent3616080db46931202003157bacf10748008bebc0 (diff)
downloadgo-tangerine-477e8a7a73820ece05bbb990607a1919d3788960.tar
go-tangerine-477e8a7a73820ece05bbb990607a1919d3788960.tar.gz
go-tangerine-477e8a7a73820ece05bbb990607a1919d3788960.tar.bz2
go-tangerine-477e8a7a73820ece05bbb990607a1919d3788960.tar.lz
go-tangerine-477e8a7a73820ece05bbb990607a1919d3788960.tar.xz
go-tangerine-477e8a7a73820ece05bbb990607a1919d3788960.tar.zst
go-tangerine-477e8a7a73820ece05bbb990607a1919d3788960.zip
Rearrange packages
Diffstat (limited to 'dagger_test.go')
-rw-r--r--dagger_test.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/dagger_test.go b/dagger_test.go
deleted file mode 100644
index 616577a39..000000000
--- a/dagger_test.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package main
-
-import (
- "github.com/ethereum/ethutil-go"
- "math/big"
- "testing"
-)
-
-func BenchmarkDaggerSearch(b *testing.B) {
- hash := big.NewInt(0)
- 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
- b.ResetTimer()
- // Validate
- DaggerVerify(hash, diff, o)
-}