MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_decompress_2x130_1K

Method test_decompress_2x130_1K

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

get_frame_infoFunction · 0.90
decompressFunction · 0.90
lenFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected