tests: update JSON files, add new wrappers

This commit is contained in:
Gustav Simonsson
2015-10-23 14:25:18 +02:00
parent 77878f76a9
commit 145366c07e
26 changed files with 21831 additions and 4830 deletions

View File

@ -77,6 +77,13 @@ func TestBcForkBlockTests(t *testing.T) {
}
}
func TestBcForkStress(t *testing.T) {
err := RunBlockTest(filepath.Join(blockTestDir, "bcForkStressTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcTotalDifficulty(t *testing.T) {
err := RunBlockTest(filepath.Join(blockTestDir, "bcTotalDifficultyTest.json"), BlockSkipTests)
if err != nil {
@ -105,3 +112,17 @@ func TestBcRandom(t *testing.T) {
t.Fatal(err)
}
}
func TestBcMultiChain(t *testing.T) {
err := RunBlockTest(filepath.Join(blockTestDir, "bcMultiChainTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcState(t *testing.T) {
err := RunBlockTest(filepath.Join(blockTestDir, "bcStateTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}