42
42
def test_optimize_for_speed(self):
43
43
writer = chunk_writer.ChunkWriter(4096)
45
48
self.assertEqual(chunk_writer.ChunkWriter._repack_opts_for_speed,
46
49
(writer._max_repack, writer._max_zsync))
48
51
def test_optimize_for_size(self):
49
52
writer = chunk_writer.ChunkWriter(4096)
51
57
self.assertEqual(chunk_writer.ChunkWriter._repack_opts_for_size,
52
58
(writer._max_repack, writer._max_zsync))