You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package transakcio
|
|
|
|
import (
|
|
"strings"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestCompileSets(t *testing.T) {
|
|
parser := newParser(strings.NewReader(SetBlockchain0))
|
|
_, err := parser.parse()
|
|
assert.Nil(t, err)
|
|
parser = newParser(strings.NewReader(SetPool0))
|
|
_, err = parser.parse()
|
|
assert.Nil(t, err)
|
|
|
|
tc := NewTestContext(t)
|
|
_ = tc.GenerateBlocks(SetBlockchain0)
|
|
_ = tc.GenerateBlocks(SetPool0)
|
|
}
|