summaryrefslogtreecommitdiff
path: root/xdelta3
diff options
context:
space:
mode:
authorJosh MacDonald <josh.macdonald@gmail.com>2015-12-31 22:34:27 -0800
committerJosh MacDonald <josh.macdonald@gmail.com>2015-12-31 22:34:27 -0800
commit5025a49f13abe39c41d89c8c300c8790a432383b (patch)
tree4b35b51c9ffa13470fbf1d0d2ea0db4f7ea8481e /xdelta3
parentec9905aa755eafb64f08fc59ca7e67ea57498264 (diff)
Restore offset test
Diffstat (limited to 'xdelta3')
-rw-r--r--xdelta3/go/src/regtest.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/xdelta3/go/src/regtest.go b/xdelta3/go/src/regtest.go
index a7cab33..4ffcdaf 100644
--- a/xdelta3/go/src/regtest.go
+++ b/xdelta3/go/src/regtest.go
@@ -257,16 +257,16 @@ func main() {
257 257
258 r.RunTest("smoketest", func(t *xdelta.TestGroup) { cfg.smokeTest(t, prog) }) 258 r.RunTest("smoketest", func(t *xdelta.TestGroup) { cfg.smokeTest(t, prog) })
259 259
260 // for i := uint(19); i <= 30; i += 1 { 260 for i := uint(29); i <= 33; i += 1 {
261 // // The arguments to offsetTest are offset, source 261 // The arguments to offsetTest are offset, source
262 // // window size, and file size. The source window size 262 // window size, and file size. The source window size
263 // // is (2 << i) and (in the 3.0x release branch) is 263 // is (2 << i) and (in the 3.0x release branch) is
264 // // limited to 2^31, so the the greatest value of i is 264 // limited to 2^31, so the the greatest value of i is
265 // // 30. 265 // 30.
266 // cfg.srcbuf_size = 2 << i 266 cfg.srcbuf_size = 2 << i
267 // r.RunTest(fmt.Sprint("offset", i), func(t *xdelta.TestGroup) { 267 r.RunTest(fmt.Sprint("offset", i), func(t *xdelta.TestGroup) {
268 // cfg.offsetTest(t, prog, 1 << i, 3 << i) }) 268 cfg.offsetTest(t, prog, 1 << i, 3 << i) })
269 // } 269 }
270 270
271 comp := xdelta.Program{xcompare} 271 comp := xdelta.Program{xcompare}
272 272