aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-05-07 19:03:22 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-05-07 19:03:22 +0800
commit79eb40fc9f6e93062abb1875b90f8356109ac59a (patch)
treebc4e32e7a03a7836d741a5b56ab56f566fb99038 /tests/block_test.go
parent2b716aec54fe19bf1fd6a5714c39a15ba25bd337 (diff)
downloadgo-tangerine-79eb40fc9f6e93062abb1875b90f8356109ac59a.tar.gz
go-tangerine-79eb40fc9f6e93062abb1875b90f8356109ac59a.tar.zst
go-tangerine-79eb40fc9f6e93062abb1875b90f8356109ac59a.zip
Add bcTotalDifficultyTest and unskip now working tx tests
Diffstat (limited to 'tests/block_test.go')
-rw-r--r--tests/block_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/block_test.go b/tests/block_test.go
index 8b1f76a92..79e3335b1 100644
--- a/tests/block_test.go
+++ b/tests/block_test.go
@@ -44,6 +44,10 @@ func TestBcForkBlockTests(t *testing.T) {
runBlockTestsInFile("files/BlockTests/bcForkBlockTest.json", []string{}, t)
}
+func TestBcTotalDifficulty(t *testing.T) {
+ runBlockTestsInFile("files/BlockTests/bcTotalDifficultyTest.json", []string{}, t)
+}
+
func runBlockTestsInFile(filepath string, snafus []string, t *testing.T) {
bt, err := LoadBlockTests(filepath)
if err != nil {