another test push

This commit is contained in:
Mikkel Milo 2016-02-20 20:30:11 +01:00
parent 00d112dd23
commit 5553cc5389

View File

@ -13,7 +13,7 @@ func main() {
n.Connect(n2) n.Connect(n2)
n.Connect(n3) n.Connect(n3)
n3.Connect(n.GetConnections()[0]) n3.Connect(n.GetConnections()[0])
//n.Disconnect(&n2) //n.Disconnect(&n2) test
//fmt.Println(n.RemovePointerTo(n3)) //fmt.Println(n.RemovePointerTo(n3))
fmt.Println("n -> n2: ", n2.IsConnectedTo(n), " n <- n2: ", n.IsConnectedTo(n2)) fmt.Println("n -> n2: ", n2.IsConnectedTo(n), " n <- n2: ", n.IsConnectedTo(n2))
fmt.Println("n -> n3: ", n.IsConnectedTo(n3), " n <- n3: ", n3.IsConnectedTo(n)) fmt.Println("n -> n3: ", n.IsConnectedTo(n3), " n <- n3: ", n3.IsConnectedTo(n))