Overview
Comment: | smaz-tests: update the expected compressed to match improved encoder |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
4a97e983b0c7e8cf784becd832f793fe |
User & Date: | nat on 2016-09-19 17:47:49 |
Other Links: | manifest | tags |
Context
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 | |
2016-09-18
| ||
21:06 | smaz-tests: rewrite Roundtrip_Test to make both roundtrip directions check-in: 21fd02233a user: nat tags: trunk | |
Changes
Modified tests/natools-smaz-tests.adb from [89531cdf45] to [8bd462bcd7].
︙ | ︙ | |||
149 150 151 152 153 154 155 | "foobar", (220, 6, 90, 79)); Roundtrip_Test (Test, Original.Dictionary, "the end", (1, 171, 61)); Roundtrip_Test (Test, Original.Dictionary, "not-a-g00d-Exampl333", | | | | | 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | "foobar", (220, 6, 90, 79)); Roundtrip_Test (Test, Original.Dictionary, "the end", (1, 171, 61)); Roundtrip_Test (Test, Original.Dictionary, "not-a-g00d-Exampl333", (132, 204, 4, 204, 59, 255, 12, 48, 48, 100, 45, 69, 120, 97, 109, 112, 108, 51, 51, 51)); Roundtrip_Test (Test, Original.Dictionary, "Smaz is a simple compression library", (254, 83, 173, 219, 56, 172, 62, 226, 60, 87, 161, 45, 60, 33, 166, 107, 205, 8, 90, 130, 12, 83)); Roundtrip_Test (Test, Original.Dictionary, "Nothing is more difficult, and therefore more precious, " & "than to be able to decide", (254, 78, 223, 102, 99, 116, 45, 42, 11, 129, 44, 44, 131, 38, 22, 3, 148, 63, 210, 68, 11, 45, 42, 11, 60, 33, 28, 144, 164, 36, 203, 143, 96, 92, 25, 90, 87, 82, 165, 215, 237, 2)); Roundtrip_Test (Test, Original.Dictionary, "this is an example of what works very well with smaz", (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)); exception when Error : others => Test.Report_Exception (Error); end Sample_Strings; end Natools.Smaz.Tests; |