Overview
Comment: | smaz-tests: add a test case showing bug in compressed size estimation |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c65c5954e9a7502166ca87199e25cca6 |
User & Date: | nat on 2016-09-20 18:17:17 |
Other Links: | manifest | tags |
Context
2016-09-21
| ||
21:14 | smaz: further reduce the encoder output to fit within the worst case check-in: 23214105c3 user: nat tags: trunk | |
2016-09-20
| ||
18:17 | smaz-tests: add a test case showing bug in compressed size estimation check-in: c65c5954e9 user: nat tags: trunk | |
2016-09-19
| ||
17:47 | smaz-tests: update the expected compressed to match improved encoder check-in: 4a97e983b0 user: nat tags: trunk | |
Changes
Modified tests/natools-smaz-tests.adb from [8bd462bcd7] to [28f079a816].
︙ | |||
170 171 172 173 174 175 176 177 178 179 180 181 | 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | + + + | (155, 56, 172, 41, 2, 250, 4, 45, 60, 87, 32, 159, 135, 65, 42, 254, 107, 23, 231, 71, 145, 152, 243, 227, 10, 173, 219)); Roundtrip_Test (Test, Original.Dictionary, "1000 numbers 2000 will 10 20 30 compress very little", (255, 3, 49, 48, 48, 48, 236, 38, 45, 92, 221, 0, 255, 3, 50, 48, 48, 48, 243, 152, 0, 255, 7, 49, 48, 32, 50, 48, 32, 51, 48, 161, 45, 60, 33, 166, 0, 231, 71, 151, 3, 3, 87)); Roundtrip_Test (Test, Original.Dictionary, ": : : :", (255, 6, 58, 32, 58, 32, 58, 32, 58)); exception when Error : others => Test.Report_Exception (Error); end Sample_Strings; end Natools.Smaz.Tests; |