This commit is contained in:
Sebastian Buchwald 2016-06-21 22:20:16 +02:00 committed by Sean Owen
parent 53ce55ed96
commit ee150757ec

View file

@ -278,7 +278,7 @@ public final class MatrixUtilTestCase extends Assert {
// From http://www.swetake.com/qr/qr11.html
assertEquals(0x214, MatrixUtil.calculateBCHCode(0x1b, 0x537));
// Encofing of version information.
// Encoding of version information.
// From Appendix D in JISX0510:2004 (p 68)
assertEquals(0xc94, MatrixUtil.calculateBCHCode(7, 0x1f25));
assertEquals(0x5bc, MatrixUtil.calculateBCHCode(8, 0x1f25));