mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-29 19:27:36 +00:00
19 lines
189 B
Go
19 lines
189 B
Go
|
package vm_test
|
||
|
|
||
|
import "math/big"
|
||
|
|
||
|
var numericTestCases = []testCase{
|
||
|
{
|
||
|
"add",
|
||
|
`
|
||
|
package foo
|
||
|
func Main() int {
|
||
|
x := 2
|
||
|
y := 4
|
||
|
return x + y
|
||
|
}
|
||
|
`,
|
||
|
big.NewInt(6),
|
||
|
},
|
||
|
}
|