MCPcopy Index your code
hub / github.com/python/cpython / test_decompress_2x130_1K

Method test_decompress_2x130_1K

Lib/test/test_zstd.py:184–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182 get_frame_size(b"aaaaaaaaaaaaaa")
183
184 def test_decompress_2x130_1K(self):
185 decompressed_size = get_frame_info(DAT_130K_C).decompressed_size
186 self.assertEqual(decompressed_size, _130_1K)
187
188 dat = decompress(DAT_130K_C + DAT_130K_C)
189 self.assertEqual(len(dat), 2 * _130_1K)
190
191
192class CompressorTestCase(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

get_frame_infoFunction · 0.90
decompressFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected