yanic/models/graph_test.go

20 lines
279 B
Go
Raw Normal View History

2016-03-20 20:00:02 +01:00
package models
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestGenerateGraph(t *testing.T) {
assert := assert.New(t)
nodes := &Nodes{
List: make(map[string]*Node),
}
graph := nodes.BuildGraph()
assert.NotNil(graph)
// TODO more tests required
}