From f3d4a8ef7d6ed3323a927e0c665cf7f916649239 Mon Sep 17 00:00:00 2001 From: Emux Date: Sat, 18 Jun 2016 19:53:56 +0300 Subject: [PATCH] Fix vtm-tests --- vtm-tests/test/org/oscim/utils/RTreeTest.java | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/vtm-tests/test/org/oscim/utils/RTreeTest.java b/vtm-tests/test/org/oscim/utils/RTreeTest.java index c02bbb3c..a0fb1c02 100644 --- a/vtm-tests/test/org/oscim/utils/RTreeTest.java +++ b/vtm-tests/test/org/oscim/utils/RTreeTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2016 devemux86 + * + * This file is part of the OpenScienceMap project (http://www.opensciencemap.org). + * + * This program is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A + * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * this program. If not, see . + */ package org.oscim.utils; import static org.junit.Assert.assertEquals; @@ -204,7 +220,7 @@ public class RTreeTest { Assert.assertEquals(10000, t.size()); - SearchCb cb = new SearchCb() { + /*SearchCb cb = new SearchCb() { @Override public boolean call(Item item, Object context) { //out.println("found: " + item); @@ -219,7 +235,7 @@ public class RTreeTest { counter += t.search(min, max, cb, null); } - System.out.println("found: " + counter); + System.out.println("found: " + counter);*/ } @Test