aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-05-18 22:28:54 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-05-18 22:28:54 +0800
commit6a72cd45e20ad220f27d9ead3120e98020802022 (patch)
tree7cc2affcfd4284fbf05027b080c509ae486053ff
parent1d51cada3cd27e2de956cc7e326c6dd8455d8391 (diff)
downloaddexon-6a72cd45e20ad220f27d9ead3120e98020802022.tar.gz
dexon-6a72cd45e20ad220f27d9ead3120e98020802022.tar.zst
dexon-6a72cd45e20ad220f27d9ead3120e98020802022.zip
Add wrapper for BlockTests/bcWalletTest.json
-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 0ba0aefa2..d17cab477 100644
--- a/tests/block_test.go
+++ b/tests/block_test.go
@@ -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 {