aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp.test/src/BinaryIndexTree.cpp
diff options
context:
space:
mode:
authorcathook <b01902109@csie.ntu.edu.tw>2014-06-01 13:56:57 +0800
committercathook <b01902109@csie.ntu.edu.tw>2014-06-01 13:56:57 +0800
commitd5052f1c296dddf51b3e83d59bf3e3c1952cb2d0 (patch)
tree16f7920c5079e0aefcf9509d2dbab59c464d42bd /meowpp.test/src/BinaryIndexTree.cpp
parentbd58f63900410ec4764031f2e6de2d75e91434b3 (diff)
downloadmeow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar
meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.gz
meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.bz2
meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.lz
meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.xz
meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.zst
meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.zip
big chnage
Diffstat (limited to 'meowpp.test/src/BinaryIndexTree.cpp')
-rw-r--r--meowpp.test/src/BinaryIndexTree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/meowpp.test/src/BinaryIndexTree.cpp b/meowpp.test/src/BinaryIndexTree.cpp
index 0b81f10..e9a4544 100644
--- a/meowpp.test/src/BinaryIndexTree.cpp
+++ b/meowpp.test/src/BinaryIndexTree.cpp
@@ -1,7 +1,7 @@
#include "meowpp/dsa/BinaryIndexTree.h"
#include "meowpp/utility.h"
-#include "meowpp.h"
+#include "dsa.h"
#include <vector>
@@ -26,7 +26,7 @@ TEST(BinaryIndexTree, "Test with large data"){
bit.reset(N, 0);
array.clear();
array.resize(N, 0);
-
+
int NN = rand() % 10000;
for(int i = 0; i < NN; i++){
int index = rand() % N;
@@ -54,4 +54,4 @@ TEST(BinaryIndexTree, "Test with large data"){
tMe * 1.0 / CLOCKS_PER_SEC);
}
return true;
-};
+}