mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
337 B
20 lines
337 B
package tests
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
)
|
|
|
|
func TestRLP(t *testing.T) {
|
|
err := RunRLPTest(filepath.Join(rlpTestDir, "rlptest.json"), nil)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|
|
|
|
func TestRLP_invalid(t *testing.T) {
|
|
err := RunRLPTest(filepath.Join(rlpTestDir, "invalidRLPTest.json"), nil)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|
|
|