Commit 6a72cd45 authored by Gustav Simonsson's avatar Gustav Simonsson

Add wrapper for BlockTests/bcWalletTest.json

parent 1d51cada
...@@ -48,6 +48,10 @@ func TestBcTotalDifficulty(t *testing.T) { ...@@ -48,6 +48,10 @@ func TestBcTotalDifficulty(t *testing.T) {
runBlockTestsInFile("files/BlockTests/bcTotalDifficultyTest.json", []string{}, t) runBlockTestsInFile("files/BlockTests/bcTotalDifficultyTest.json", []string{}, t)
} }
func TestBcWallet(t *testing.T) {
runBlockTestsInFile("files/BlockTests/bcWalletTest.json", []string{}, t)
}
func runBlockTestsInFile(filepath string, snafus []string, t *testing.T) { func runBlockTestsInFile(filepath string, snafus []string, t *testing.T) {
bt, err := LoadBlockTests(filepath) bt, err := LoadBlockTests(filepath)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment