Skip to content

Commit

Permalink
Removed misc code in test to sketches-misc repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Rhodes committed May 21, 2016
1 parent 3504f9a commit c101514
Show file tree
Hide file tree
Showing 16 changed files with 55 additions and 1,989 deletions.
16 changes: 16 additions & 0 deletions src/test/java/com/yahoo/sketches/BinomialBoundsNTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,22 @@ public void checkThetaLimits1() {
BinomialBoundsN.getUpperBound(100, 1.1, 1, false);
}

@Test
public void boundsExample() {
println("BinomialBoundsN Example:");
int k = 500;
double theta = 0.001;
int stdDev = 2;
double ub = BinomialBoundsN.getUpperBound(k, theta, stdDev, false);
double est = k/theta;
double lb = BinomialBoundsN.getLowerBound(k, theta, stdDev, false);
println("K="+k+", Theta="+theta+", SD="+stdDev);
println("UB: "+ub);
println("Est: "+est);
println("LB: "+lb);
println("");
}

@Test
public void printlnTest() {
println("PRINTING: "+this.getClass().getName());
Expand Down
160 changes: 0 additions & 160 deletions src/test/java/com/yahoo/sketches/benchmark/BenchmarkMain.java

This file was deleted.

69 changes: 0 additions & 69 deletions src/test/java/com/yahoo/sketches/benchmark/HllSketchBenchmark.java

This file was deleted.

33 changes: 0 additions & 33 deletions src/test/java/com/yahoo/sketches/benchmark/SketchBenchmark.java

This file was deleted.

81 changes: 0 additions & 81 deletions src/test/java/com/yahoo/sketches/benchmark/ThetaBenchmark.java

This file was deleted.

Loading

0 comments on commit c101514

Please sign in to comment.