Преглед на файлове

Add wrapper for BlockTests/bcWalletTest.json

Gustav Simonsson преди 10 години
родител
ревизия
6a72cd45e2
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      tests/block_test.go

+ 4 - 0
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 {