MCPcopy Create free account
hub / github.com/DNAProject/DNA / checkStackOpCode

Function checkStackOpCode

vm/neovm/stack_opcode_test.go:95–97  ·  view source on GitHub ↗
(t *testing.T, code OpCode, origin, expected []Value)

Source from the content-addressed store, hash-verified

93}
94
95func checkStackOpCode(t *testing.T, code OpCode, origin, expected []Value) {
96 checkAltStackOpCode(t, code, [2][]Value{origin, {}}, [2][]Value{expected, {}})
97}
98
99func checkAltStackOpCode(t *testing.T, code OpCode, origin [2][]Value, expected [2][]Value) {
100 //checkAltStackOpCodeOld(t, []byte{byte(code)}, origin, expected)

Callers 9

TestStackOpCodeFunction · 0.85
TestArithmeticFunction · 0.85
TestArrayOpCodeFunction · 0.85
TestMapValueFunction · 0.85
TestStringOpcodeFunction · 0.85
TestPUSHDATAFunction · 0.85
TestHashOpCodeFunction · 0.85
TestXTuckFunction · 0.85
TestThrowFunction · 0.85

Calls 1

checkAltStackOpCodeFunction · 0.85

Tested by

no test coverage detected