Made several good fixes to and because of the unit tests. Turns out the EC array...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Tue, 18 Nov 2008 22:54:04 +0000 (22:54 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Tue, 18 Nov 2008 22:54:04 +0000 (22:54 +0000)
commitf9fc1d74fded6e6d28f09e333548e7e10b36929a
tree1f047a5a29bd48133b23272350d3d2f16d70e6a5
parent5403af5906c8d241e99f2e879a600a9cedc90eed
Made several good fixes to and because of the unit tests. Turns out the EC array was never being set to the right size. I've now established that the Reed Solomon code is generating one fewer coefficient than the layer above it asked for.

git-svn-id: http://zxing.googlecode.com/svn/trunk@726 59b500cc-1b3d-0410-9834-0bbf25fbcc57
core/src/com/google/zxing/common/reedsolomon/ReedSolomonEncoder.java
core/src/com/google/zxing/qrcode/encoder/ByteArray.java
core/src/com/google/zxing/qrcode/encoder/Encoder.java
core/test/src/com/google/zxing/qrcode/encoder/EncoderTestCase.java