From 5da82077d1bd556a562568fe25c55996d0cdfb1c Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 17 Jul 2015 15:13:24 +0200 Subject: cmd/ethtest, tests: add support for RLP JSON tests --- tests/rlp_test.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/rlp_test.go (limited to 'tests/rlp_test.go') diff --git a/tests/rlp_test.go b/tests/rlp_test.go new file mode 100644 index 000000000..70bd19627 --- /dev/null +++ b/tests/rlp_test.go @@ -0,0 +1,20 @@ +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) + } +} -- cgit v1.2.3