forked from TrueCloudLab/neoneo-go
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),
|
||
|
},
|
||
|
}
|