diff options
Diffstat (limited to 'tests/state_test.go')
-rw-r--r-- | tests/state_test.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/state_test.go b/tests/state_test.go index 245f60597..e93d7d2dc 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -122,6 +122,27 @@ func TestCallCodes(t *testing.T) { } } +func TestDelegateCall(t *testing.T) { + fn := filepath.Join(stateTestDir, "stDelegatecallTest.json") + if err := RunStateTest(fn, StateSkipTests); err != nil { + t.Error(err) + } +} + +func TestDelegateCallCodes1(t *testing.T) { + fn := filepath.Join(stateTestDir, "stCallDelegateCodes.json") + if err := RunStateTest(fn, StateSkipTests); err != nil { + t.Error(err) + } +} + +func TestDelegateCallCodes2(t *testing.T) { + fn := filepath.Join(stateTestDir, "stCallDelegateCodesCallCode.json") + if err := RunStateTest(fn, StateSkipTests); err != nil { + t.Error(err) + } +} + func TestMemory(t *testing.T) { fn := filepath.Join(stateTestDir, "stMemoryTest.json") if err := RunStateTest(fn, StateSkipTests); err != nil { |