-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSignaturesCheck.java
More file actions
47 lines (38 loc) · 1.51 KB
/
Copy pathSignaturesCheck.java
File metadata and controls
47 lines (38 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package qr;
import reedsolomon.ErrorCorrectionEncoding;
public final class SignaturesCheck {
/** =========================
* !!!! DO NOT MODIFY !!!!
* =========================
*
* Any submission for which this file does not compile will not be accepted
*
*/
@SuppressWarnings("unused")
public static final void check() {
boolean[] a = DataEncoding.byteModeEncoding("",0);
int [] a2 = DataEncoding.encodeString("", 0);
int[] b = DataEncoding.addInformations(a2);
int[] b2 = DataEncoding.fillSequence(b, 0);
int[] c = DataEncoding.addErrorCorrection(b, 0);
boolean[] d = DataEncoding.bytesToBinaryArray(b);
int[][] e = MatrixConstruction.renderQRCodeMatrix(0, d, 0);
int[][] e2 = MatrixConstruction.renderQRCodeMatrix(0, d);
int f = MatrixConstruction.findBestMasking(0, d);
MatrixConstruction.addFinderPatterns(e);
MatrixConstruction.addAlignmentPatterns(e,0);
MatrixConstruction.addTimingPatterns(e);
MatrixConstruction.addDarkModule(e);
int[][] e3 = MatrixConstruction.constructMatrix(0, 0);
int[][] e4 = MatrixConstruction.initializeMatrix(0);
MatrixConstruction.addDataInformation(e, d, 0);
int g = MatrixConstruction.maskColor(0, 0, true, 0);
int g2 = MatrixConstruction.evaluate(e);
MatrixConstruction.addFormatInformation(e, 0);
int[] h = ErrorCorrectionEncoding.encode(b, 0);
boolean[] i = QRCodeInfos.getFormatSequence(0);
int j = QRCodeInfos.getCodeWordsLength(0);
int k = QRCodeInfos.getMatrixSize(0);
int l = QRCodeInfos.getMaxInputLength(0);
}
}