Add wrapper for BlockTests/bcWalletTest.json

This commit is contained in:
Gustav Simonsson 2015-05-18 16:28:54 +02:00
parent 1d51cada3c
commit 6a72cd45e2

View File

@ -48,6 +48,10 @@ func TestBcTotalDifficulty(t *testing.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) {
bt, err := LoadBlockTests(filepath)
if err != nil {