浏览代码

add all records access test

Boyoung- 9 年之前
父节点
当前提交
3ec165e991
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      test/oram/TestForest.java

+ 4 - 2
test/oram/TestForest.java

@@ -16,10 +16,12 @@ public class TestForest {
 		long numRecords = md.getNumInsertRecords();
 		int numTrees = forest.getNumTrees();
 
-		int numTests = 100;
-		for (int n = 0; n < numTests; n++) {
+		long numTests = 100;
+		// long numTests = numRecords;
+		for (long n = 0; n < numTests; n++) {
 			// address of record we want to test
 			long testAddr = Util.nextLong(OramCrypto.sr, numRecords);
+			// long testAddr = n;
 			long L = 0;
 			long outRecord = 0;