anchor.diff:                   {7, -10.0,-10.0,-10.0}]).
   
   
  +-define(POINTS_5D, [{1, 1.1,1.2,1.3,1.4,1.5},
  +                    {2, 2.1,2.2,2.3,2.4,2.5},
  +                    {3, 3.1,3.2,3.3,3.4,3.5},
  +                    {4, 4.1,4.2,4.3,4.4,4.5},
  +                    {5, 5.1,5.2,5.3,5.4,5.5},
  +                    {6, 6.1,6.2,6.3,6.4,6.5},
  +                    {7, 7.1,7.2,7.3,7.4,7.5},
  +                    {8, 8.1,8.2,8.3,8.4,8.5}]).
  +
   -define(ROOT, [{11, 10.0,10.0,10.0}, {12, -10.0,-10.0,-10.0}, {13, 1.0,1.0,1.0}]).
   
   -define(WIKIPEDIA_TEST,
  
positive.code:     ].
  
  compare_test_() ->
      {ok, Tree1} = yalinka:new([{1,1.0,1.0,1.0},{2,2.0,2.0,2.0},{3,3.0,3.0,3.0},{4,4.0,4.0,4.0}]),
      {ok, Tree2} = yalinka:new([{1,[1.0,1.0,1.0]},{2,[2.0,2.0,2.0]},{3,[3.0,3.0,3.0]},{4,[4.0,4.0,4.0]}]),
      {ok, Tree3} = yalinka:new([{1,1.0,1.0,1.0},{2,2.0,2.0,2.0},{3,3.0,3.0,3.0}]),
      {ok, Tree4} = yalinka:new([{1,1.0,1.0,1.0},{2,2.0,2.0,2.0},{3,3.0,3.0,3.0},{4,4.1,4.0,4.0}]),
      [
       ?_assertEqual( equal, yalinka:compare(Tree1,Tree2)),
       ?_assertEqual( diff,  yalinka:compare(Tree2,Tree3)),
       ?_assertEqual( diff,  yalinka:compare(Tree1,Tree4)),
       ?_assertEqual( equal, yalinka:compare(Tree2,Tree1))
      ].
  
  gettree_test_() ->
  
negative.code:                     yalinka:search(Tree, {11.0, 11.0, 12.0}, 1))
      ].
  
  search_5d_test_() ->
      {ok, Tree} = yalinka:new(?POINTS_5D),
      [
       ?_assertEqual( {ok, [{1, 0.0}]},
                      yalinka:search(Tree, {1.1,1.2,1.3,1.4,1.5})),
       ?_assertEqual( {ok, [{3, 1.0}]},
                      yalinka:search(Tree, {3.1,3.2,4.3,3.4,3.5})),
       ?_assertEqual( {ok, [{3, math:sqrt(2)}]},
                      yalinka:search(Tree, {3.1,4.2,3.3,3.4,4.5}))
      ].
  
  storing_test_() ->
      {ok, Tree} = yalinka:new(?POINTS),
      [
  