| 1 |
Last-Update: 2016-03-05 |
| 2 |
Forwarded: not-needed |
| 3 |
Author: Dmitry Smirnov <[email protected]> |
| 4 |
Description: skip test that needs to download sample data. |
| 5 |
|
| 6 |
--- a/all_test.go |
| 7 |
+++ b/all_test.go |
| 8 |
@@ -290,9 +290,9 @@ |
| 9 |
func Benchmark_ZFlat14(b *testing.B) { benchFile(b, 14, false) } |
| 10 |
func Benchmark_ZFlat15(b *testing.B) { benchFile(b, 15, false) } |
| 11 |
func Benchmark_ZFlat16(b *testing.B) { benchFile(b, 16, false) } |
| 12 |
func Benchmark_ZFlat17(b *testing.B) { benchFile(b, 17, false) } |
| 13 |
- |
| 14 |
+/* |
| 15 |
func TestCmp(t *testing.T) { |
| 16 |
var ts, tz, to int |
| 17 |
for i := 0; i <= 17; i++ { |
| 18 |
filename := filepath.Join("testdata", testFiles[i].filename) |
| 19 |
@@ -327,9 +327,9 @@ |
| 20 |
tz += nz |
| 21 |
} |
| 22 |
t.Logf("%35s: snappy %7d, zappy %7d, %.3f, orig %7d", "TOTAL", ts, tz, float64(tz)/float64(ts), to) |
| 23 |
} |
| 24 |
- |
| 25 |
+*/ |
| 26 |
func TestBitIndex(t *testing.T) { |
| 27 |
rng := rand.New(rand.NewSource(42)) |
| 28 |
for n := 16; n <= 1<<16; n <<= 1 { |
| 29 |
data := make([]byte, n) |