aboutsummaryrefslogblamecommitdiffstats
path: root/tests/transaction_test.go
blob: 41a20a1bbe1091b0c6bb65c59c73da5594abbd08 (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"))
    if err != nil {
        t.Fatal(err)
    }
}

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

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