xmltree/graph_test.go

20 lines
228 B
Go
Raw Normal View History

2019-11-29 10:30:20 +00:00
package graph
import (
"io/ioutil"
"os"
"testing"
)
func Test1(t *testing.T) {
f, err := os.Open("1.xml")
if err != nil {
panic(err)
}
data, err := ioutil.ReadAll(f)
if err != nil {
panic(err)
}
ParseXML(data)
}