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

Method test_roundtrip_default

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

Source from the content-addressed store, hash-verified

146 self.assertLess(min, max)
147
148 def test_roundtrip_default(self):
149 raw_dat = THIS_FILE_BYTES[: len(THIS_FILE_BYTES) // 6]
150 dat1 = compress(raw_dat)
151 dat2 = decompress(dat1)
152 self.assertEqual(dat2, raw_dat)
153
154 def test_roundtrip_level(self):
155 raw_dat = THIS_FILE_BYTES[: len(THIS_FILE_BYTES) // 6]

Callers

nothing calls this directly

Calls 4

compressFunction · 0.90
decompressFunction · 0.90
lenFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected