mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 03:58:06 +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),
|
||
|
},
|
||
|
}
|