flow/flow_test.go
2019-11-07 17:33:47 +08:00

18 lines
277 B
Go

package flow
import (
"testing"
"github.com/davecgh/go-spew/spew"
)
func TestFlowAdd(t *testing.T) {
flow := New("干洗")
flow.Add(&FlowNode{Name: "干洗01"})
flow.Add(&FlowNode{Name: "干洗02"})
flow.Add(&FlowNode{Name: "干洗03"})
t.Error(spew.Sdump(flow))
}