Differences From Artifact [74a3c46eb8]:
- File src/0dev.org/encoding/mtf/mtf_test.go — part of check-in [6bd6e6d5c7] at 2015-01-04 12:52:20 on branch trunk — commands/mtf now uses fibonacci representation when encoding (user: spaskalev, size: 597) [annotate] [blame] [check-ins using]
To Artifact [7051812004]:
- File src/0dev.org/encoding/mtf/mtf_test.go — part of check-in [3ea011cf07] at 2015-01-14 20:46:02 on branch trunk — Use for range in mtf's encoder for the position table. (user: spaskalev, size: 608) [annotate] [blame] [check-ins using]
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 | - + | io.Copy(&output, decoder) processed := output.Bytes() delta := diff.Diff(diff.D{Len1: len(data), Len2: len(processed), EqualFunc: func(i, j int) bool { return data[i] == processed[j] }}) if len(delta.Added) > 0 || len(delta.Removed) > 0 { |