initial tree topology

this may not compile, I just send this out so that you guys know what to expect. I am working the test code right now. This is my second time using go, so...
kindly take another look.


On Mon, Nov 10, 2014 at 10:15 AM, Hongchao Deng <notifications@github.com>
wrote:

> In tree_topo_test.go:
>
> > @@ -0,0 +1,57 @@
> > +package meritop
> > +
> > +import "testing"
> > +
> > +type testInfo struct {
> > +	in                uint64
> > +	parents, children []uint64
> > +}
> > +
> > +var tests27 = []testInfo{
>
>
>    1. put this test struct into function locally.
>    2. Instead of defining type *testInfo*, use
>
> []struct{
>   int unit64
>   ...
> }{
>   {uint64(0), ...}
>    ...
> }
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/go-distributed/meritop/pull/7/files#r20100373>.
>