Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80839 - sandbox-branches/geometry/index_dev/tests
From: adam.wulkiewicz_at_[hidden]
Date: 2012-10-03 20:02:43


Author: awulkiew
Date: 2012-10-03 20:02:43 EDT (Wed, 03 Oct 2012)
New Revision: 80839
URL: http://svn.boost.org/trac/boost/changeset/80839

Log:
moddified speed test

Text files modified:
   sandbox-branches/geometry/index_dev/tests/additional_speed.cpp | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: sandbox-branches/geometry/index_dev/tests/additional_speed.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/tests/additional_speed.cpp (original)
+++ sandbox-branches/geometry/index_dev/tests/additional_speed.cpp 2012-10-03 20:02:43 EDT (Wed, 03 Oct 2012)
@@ -1,5 +1,3 @@
-#include <windows.h>
-
 #include <iostream>
 #include <fstream>
 
@@ -23,7 +21,6 @@
     namespace bgi = bg::index;
 
     size_t values_count = 1000000;
- size_t tests_count = 10;
     size_t queries_count = 100000;
 
     std::vector< std::pair<float, float> > coords;
@@ -107,6 +104,8 @@
             std::cout << "found: " << temp << "\n";
         }
 
+ result.clear();
+
         // searching test
         {
             std::cout << "nearest 5 searching time test... ("


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk