aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-10-23 20:25:18 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-10-23 20:25:18 +0800
commit145366c07e7a3a5a9021bd5c3fd6b1ed950d2680 (patch)
tree6124670e643d885d503699a43198164987a78e58 /tests/block_test.go
parent77878f76a935061cee82ae9c2a1bc64b192b592b (diff)
downloadgo-tangerine-145366c07e7a3a5a9021bd5c3fd6b1ed950d2680.tar.gz
go-tangerine-145366c07e7a3a5a9021bd5c3fd6b1ed950d2680.tar.zst
go-tangerine-145366c07e7a3a5a9021bd5c3fd6b1ed950d2680.zip
tests: update JSON files, add new wrappers
Diffstat (limited to 'tests/block_test.go')
-rw-r--r--tests/block_test.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/block_test.go b/tests/block_test.go
index 09fc8ebc9..827c5ed1d 100644
--- a/tests/block_test.go
+++ b/tests/block_test.go
@@ -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)
+ }
+}