diff --git a/models/graph_test.go b/models/graph_test.go new file mode 100644 index 0000000..4c03932 --- /dev/null +++ b/models/graph_test.go @@ -0,0 +1,19 @@ +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 +}