Add bcTotalDifficultyTest and unskip now working tx tests

This commit is contained in:
Gustav Simonsson
2015-05-07 13:03:22 +02:00
parent 2b716aec54
commit 79eb40fc9f
3 changed files with 6 additions and 6 deletions

View File

@ -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 {