aboutsummaryrefslogtreecommitdiffstats
path: root/dagger_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-11 22:27:08 +0800
committerobscuren <geffobscura@gmail.com>2014-01-11 22:27:08 +0800
commit9571a512861d4a44c36d368f4baa15b2aa81c37d (patch)
treec5412a119ab885570351f42e512dd2d62d0bae61 /dagger_test.go
parent8bbf879cb31e9cb28700773ed788421f9935ac36 (diff)
downloadgo-tangerine-9571a512861d4a44c36d368f4baa15b2aa81c37d.tar
go-tangerine-9571a512861d4a44c36d368f4baa15b2aa81c37d.tar.gz
go-tangerine-9571a512861d4a44c36d368f4baa15b2aa81c37d.tar.bz2
go-tangerine-9571a512861d4a44c36d368f4baa15b2aa81c37d.tar.lz
go-tangerine-9571a512861d4a44c36d368f4baa15b2aa81c37d.tar.xz
go-tangerine-9571a512861d4a44c36d368f4baa15b2aa81c37d.tar.zst
go-tangerine-9571a512861d4a44c36d368f4baa15b2aa81c37d.zip
gofmt no coding standards
Diffstat (limited to 'dagger_test.go')
-rw-r--r--dagger_test.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/dagger_test.go b/dagger_test.go
index 7953ec1da..58cdd6afd 100644
--- a/dagger_test.go
+++ b/dagger_test.go
@@ -1,17 +1,17 @@
package main
import (
- "testing"
- "math/big"
+ "math/big"
+ "testing"
)
func BenchmarkDaggerSearch(b *testing.B) {
- hash := big.NewInt(0)
- diff := BigPow(2, 36)
- o := big.NewInt(0) // nonce doesn't matter. We're only testing against speed, not validity
+ hash := big.NewInt(0)
+ diff := 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)
+ // Reset timer so the big generation isn't included in the benchmark
+ b.ResetTimer()
+ // Validate
+ DaggerVerify(hash, diff, o)
}