aboutsummaryrefslogblamecommitdiffstats
path: root/tests/transaction_test.go
blob: 70aa65cddb9bdfb3aecf7302cb076fcb74c2e721 (plain) (tree)
1
2
3
4
5
6
7
8
9


             
                       



                                     
                                                                                                               





                                             
                                                                                                                   



                            
 
                               
                                                                                                             



                            
package tests

import (
    "path/filepath"
    "testing"
)

func TestTransactions(t *testing.T) {
    err := RunTransactionTests(filepath.Join(transactionTestDir, "ttTransactionTest.json"), TransSkipTests)
    if err != nil {
        t.Fatal(err)
    }
}

func TestWrongRLPTransactions(t *testing.T) {
    err := RunTransactionTests(filepath.Join(transactionTestDir, "ttWrongRLPTransaction.json"), TransSkipTests)
    if err != nil {
        t.Fatal(err)
    }
}

func Test10MBtx(t *testing.T) {
    err := RunTransactionTests(filepath.Join(transactionTestDir, "tt10mbDataField.json"), TransSkipTests)
    if err != nil {
        t.Fatal(err)
    }
}