tests: updated

This commit is contained in:
Jeffrey Wilcke
2015-07-29 15:01:42 +02:00
parent a281df783d
commit 03c39d4fc0
751 changed files with 9210 additions and 9100 deletions

View File

@ -17,18 +17,10 @@
package tests
import (
"math/big"
"path/filepath"
"testing"
"github.com/ethereum/go-ethereum/core"
)
func init() {
// XXX remove me when block tests have been updated
core.BlockReward = big.NewInt(1.5e+18)
}
func TestBcValidBlockTests(t *testing.T) {
err := RunBlockTest(filepath.Join(blockTestDir, "bcValidBlockTest.json"), BlockSkipTests)
if err != nil {
@ -36,17 +28,6 @@ func TestBcValidBlockTests(t *testing.T) {
}
}
func TestBcUncleTests(t *testing.T) {
err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
err = RunBlockTest(filepath.Join(blockTestDir, "bcBruncleTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcUncleHeaderValidityTests(t *testing.T) {
err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleHeaderValiditiy.json"), BlockSkipTests)
if err != nil {