tayloraswift / swift-png

decode, inspect, edit, and encode png images in pure swift

Home Page:https://swiftinit.org/docs/swift-png

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit-tests match-lz77 and dictionary-semantics fail

valeriyvan opened this issue · comments

swift run unit-test
Building for debugging...
Build complete! (0.11s)
 test 'decode-bitstream'             passed                                     
 test 'encode-bitstream'             passed                                     
[[1], [2], [3], [3], [1], [2], [3], [3], [1], [2], [3], [1], [2], [2], [2], [2], [2], [2], [0], [1], [2], [2], [2], [2], [2], [0], [1], [2], [2], [0], [0], [0], [0], [2], [3], [2], [1], [2], [3], [3], [1], [5], [1], [1], [3], [3], [1], [2], [3], [1], [2], [4], [4], [2], [1]]
 test 'match-lz77'                   failed                                     
 [ 0]: compressed lz77 tokens do not match expected output
 test 'compress-lz77-greedy'         passed  (6 cases)                          
 test 'compress-lz77-lazy'           passed  (6 cases)                          
 test 'compress-lz77-full'           passed  (6 cases)                          
 test 'filtering'                    passed  (8 cases)                          
 test 'premultiplication-8-bit'      passed                                     
 test 'premultiplication-16-bit'     passed                                     
 test 'dictionary-semantics'         failed                                     
 [ 0]: dictionary update/remove semantics are inconsistent