neoneo-go/pkg/vm/tests/numeric_test.go
Roman Khimov 9b421874ae vm: enable assign/binary/numeric/struct tests
These were not used for some reason.
2019-08-20 20:37:06 +03:00

25 lines
282 B
Go

package vm_test
import (
"math/big"
"testing"
)
var numericTestCases = []testCase{
{
"add",
`
package foo
func Main() int {
x := 2
y := 4
return x + y
}
`,
big.NewInt(6),
},
}
func TestNumericExprs(t *testing.T) {
run_testcases(t, numericTestCases)
}