Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor tests #65

Merged
merged 3 commits into from
Jun 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ Tests can be run with
npm test
```

The test suite is several hundred images that can be found in the [test-data/](./test-data/images) folder.
Besides unit tests the test suite contains several hundred images that can be found in the [/tests/end-to-end/](./tests/end-to-end/) folder.

Not all the images can be read. In general changes should hope to increase the number of images that read. However due to the nature of computer vision some changes may cause images that pass to start to fail and visa versa. To update the expected outcomes run `npm run-script generate-test-data`. These outcomes can be evaluated in the context of a PR to determine if a change improves or harms the overall ability of the library to read QR codes.
Not all the images can be read. In general changes should hope to increase the number of images that read. However due to the nature of computer vision some changes may cause images that pass to start to fail and visa versa. To update the expected outcomes run `npm run-script generate-test-data`. These outcomes can be evaluated in the context of a PR to determine if a change improves or harms the overall ability of the library to read QR codes. A summary of which are passing
and failing can be found at [/tests/end-to-end/report.json](./tests/end-to-end/report.json)

After testing any changes, you can compile the production version by running
```
Expand Down
13 changes: 0 additions & 13 deletions src/binarizer/test.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/decoder/decoder-test.ts

This file was deleted.

Binary file added src/decoder/test-data/alphanumeric.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/decoder/test-data/byte.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/decoder/test-data/kanji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/decoder/test-data/mixed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/decoder/test-data/numeric.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions src/decoder/test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import { loadBinarized } from "../../tests/helpers";
import { decode } from "./decoder";

describe("decode", () => {
it("decodes a numeric code", async () => {
const data = await loadBinarized("./src/decoder/test-data/numeric.png");
expect(decode(data)).toEqual({
text: "123456789",
bytes: [49, 50, 51, 52, 53, 54, 55, 56, 57],
chunks: [{ type: "numeric", text: "123456789" }],
});
});

it("decodes an alphanumeric code", async () => {
const data = await loadBinarized("./src/decoder/test-data/alphanumeric.png");
expect(decode(data)).toEqual({
text: "ABCD1234",
bytes: [65, 66, 67, 68, 49, 50, 51, 52],
chunks: [{ type: "alphanumeric", text: "ABCD1234" }],
});
});

it("decodes a byte code", async () => {
const data = await loadBinarized("./src/decoder/test-data/byte.png");
expect(decode(data)).toEqual({
text: "Test",
bytes: [84, 101, 115, 116],
chunks: [{ type: "byte", bytes: [84, 101, 115, 116], text: "Test" }],
});
});

it("decodes a kanji code", async () => {
const data = await loadBinarized("./src/decoder/test-data/kanji.png");
expect(decode(data)).toEqual({
text: "テスト",
bytes: [131, 101, 131, 88, 131, 103],
chunks: [{ type: "kanji", bytes: [131, 101, 131, 88, 131, 103], text: "テスト" }],
});
});

it("decodes a mixed code", async () => {
const data = await loadBinarized("./src/decoder/test-data/mixed.png");
expect(decode(data)).toEqual({
text: "123456789ABCD1234Testテスト",
bytes: [49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 49, 50, 51, 52, 84, 101, 115, 116, 131, 101, 131, 88, 131, 103],
chunks: [
{ type: "numeric", text: "123456789" },
{ type: "alphanumeric", text: "ABCD1234" },
{ type: "byte", bytes: [84, 101, 115, 116], text: "Test" },
{ type: "kanji", bytes: [131, 101, 131, 88, 131, 103], text: "テスト" },
],
});
});
});
Binary file added src/extractor/test-data/input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/extractor/test-data/output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 36 additions & 12 deletions src/extractor/test.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,44 @@
import tests from "../../test-data";
import { loadBinarized } from "../../tests/helpers";
import { BitMatrix } from "../BitMatrix";
import { extract } from "./";

describe("extract", () => {
tests.forEach((t) => {
it(t.name, async () => {
const binarizedImage = await loadBinarized(t.binarizedPath);
const expectedOutput = t.extractedPath ? await loadBinarized(t.extractedPath) : null;
let output: BitMatrix = null;
try {
output = extract(binarizedImage, t.location).matrix;
} catch (e) {
// error
function matricCompare(a: BitMatrix, b: BitMatrix) {
if (!(a.height === b.height && a.width === b.width)) {
return false;
}
for (let x = 0; x < a.width; x++) {
for (let y = 0; y < a.height; y++) {
if (a.get(x, y) !== b.get(x, y)) {
return false;
}
expect(output).toEqual(expectedOutput);
}
}
return true;
}

describe("extract", () => {
it("is a no-op when applied to an already extracted code", async () => {
const data = await loadBinarized("./src/extractor/test-data/output.png");
const extracted = extract(data, {
topLeft: { x: 3.5, y: 3.5 },
bottomLeft: { x: 3.5, y: 21.5 },
topRight: { x: 21.5, y: 3.5 },
alignmentPattern: { x: 18.5, y: 18.5 },
dimension: 25,
});
expect(matricCompare(extracted.matrix, data)).toBeTruthy();
});

it("extracts a distorted QR code", async () => {
const input = await loadBinarized("./src/extractor/test-data/input.png");
const expected = await loadBinarized("./src/extractor/test-data/output.png");
const extracted = extract(input, {
topLeft: { x: 56, y: 94 },
bottomLeft: { x: 88, y: 268 },
topRight: { x: 275, y: 175 },
alignmentPattern: { x: 197, y: 315 },
dimension: 25,
});
expect(matricCompare(extracted.matrix, expected)).toBeTruthy();
});
});
65 changes: 56 additions & 9 deletions src/locator/test.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,65 @@
import tests from "../../test-data";
import {loadBinarized} from "../../tests/helpers";
import {locate} from "./";

describe("locate", () => {
tests.forEach((t) => {
it(t.name, async () => {
const binarizedImage = await loadBinarized(t.binarizedPath);
const output = locate(binarizedImage);
expect(output).toEqual(t.location);
});
});

it("handles images with missing finder patterns", async () => {
const binarized = await loadBinarized("./src/locator/test-data/missing-finder-patterns.png");
expect(() => locate(binarized)).not.toThrow();
expect(locate(binarized)).toEqual(null);
});

it('locates a "perfect" image', async () => {
const binarized = await loadBinarized("./src/locator/test-data/perfect.png");
expect(locate(binarized)).toEqual({
alignmentPattern: {x: 170.5, y: 170.5},
bottomLeft: {x: 3.5, y: 173.5},
dimension: 177,
topLeft: {x: 3.5, y: 3.5},
topRight: {x: 173.5, y: 3.5},
});
});

it("locates a QR in a real world image", async () => {
const binarized = await loadBinarized("./src/locator/test-data/real-world.png");
expect(locate(binarized)).toEqual({
alignmentPattern: { x: 264.25, y: 177 },
bottomLeft: { x: 195.5, y: 191.5 },
dimension: 33,
topLeft: { x: 191.75, y: 113.5 },
topRight: { x: 270.75, y: 107.5 },
});
});

it("locates a small QR code in real world photo", async () => {
const binarized = await loadBinarized("./src/locator/test-data/small-photo.png");
expect(locate(binarized)).toEqual({
alignmentPattern: { x: 103, y: 147.5 },
bottomLeft: { x: 73.5, y: 152 },
dimension: 29,
topLeft: { x: 74, y: 117.5 },
topRight: { x: 108, y: 118 },
});
});

it("locates a extremely distored QR code", async () => {
const binarized = await loadBinarized("./src/locator/test-data/distorted-extreme.png");
expect(locate(binarized)).toEqual({
alignmentPattern: { x: 164.5, y: 39 },
bottomLeft: { x: 221.5, y: 18.5 },
dimension: 25,
topLeft: { x: 180.5, y: 101 },
topRight: { x: 122.75, y: 105 },
});
});

it("locates a damaged QR code and guesses the finder pattern location", async () => {
const binarized = await loadBinarized("./src/locator/test-data/damaged.png");
expect(locate(binarized)).toEqual({
alignmentPattern: { x: 219.75, y: 221 },
bottomLeft: { x: 81.5, y: 215.5 },
dimension: 29,
topLeft: { x: 82, y: 75.5 },
topRight: { x: 221.75, y: 76 },
});
});
});
Binary file removed test-data/AUTOGEN/binarized/0.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/10.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/100.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/101.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/102.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/103.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/104.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/105.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/106.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/107.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/108.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/109.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/11.png
Binary file not shown.
Binary file removed test-data/AUTOGEN/binarized/110.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/111.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/112.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/113.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/114.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/115.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/116.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/117.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/118.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/119.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/12.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/120.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/121.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/122.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/123.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/124.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/125.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/126.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/127.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/128.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/129.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/13.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/130.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/132.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/133.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/134.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/135.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/136.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/137.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/138.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/139.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/14.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/140.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/141.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/142.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/143.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/144.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/145.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/146.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/147.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/148.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/149.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/15.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/150.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/151.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/152.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/153.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/154.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/155.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/156.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/157.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/158.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/159.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/16.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/160.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/161.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/162.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/163.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/164.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/165.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/166.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/167.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/168.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/169.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/17.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/170.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/171.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/172.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/173.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/174.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/175.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/176.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/177.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/178.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/179.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/18.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/180.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/181.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/182.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/184.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/185.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/186.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/19.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/20.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/21.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/23.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/24.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/25.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/26.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/27.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/28.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/29.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/3.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/30.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/31.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/32.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/33.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/34.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/35.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/36.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/37.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/38.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/39.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/4.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/40.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/41.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/42.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/43.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/44.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/45.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/46.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/47.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/48.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/49.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/5.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/50.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/51.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/52.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/53.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/54.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/55.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/56.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/57.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/58.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/59.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/6.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/60.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/61.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/62.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/63.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/64.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/65.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/66.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/67.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/68.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/69.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/7.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/70.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/71.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/72.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/73.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/74.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/75.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/76.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/77.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/78.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/79.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/8.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/80.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/81.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/82.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/83.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/84.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/85.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/86.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/87.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/88.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/89.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/9.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/90.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/91.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/92.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/93.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/94.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/95.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/96.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/97.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/98.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/99.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/angel-hotel.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/battery.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/bike-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/bike-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/billboard-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/billboard-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/bitcoin-tag.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/bus-stop-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/bus-stop-3.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/business-card-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/business-card-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/business-card-3.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/cache-flyer.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/cgi.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/chevy-ad.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/cupcake-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/cupcake-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/cupcake-3.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/cupcake-4.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/emblem-patch.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/hk-ikea.png
Diff not rendered.
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/issue-14-regression.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/issue-32-regression.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/issue-34-regression.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/issue-54-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/issue-54-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/japan-visa.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/japanese-jean-ad.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/kanji.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/key-flyer.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/museum-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/museum-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/paper-flyer.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/pepsi-bottle.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/ring.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/schiller-denkmal.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/school-flyer.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/sd-card-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/sd-card-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/sheep.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/sidewalk.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/square-des-fusilles.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/starbucks-app.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/stickerbook-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/stickerbook-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/stickerbook-3.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/stickerbook-4.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/stickerbook-5.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/stickerbook-6.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/subway-station.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/tattoo-scan.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/trackable-book-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/trackable-book-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/trackable-book-3.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/trackable-book-4.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/trackable-book-5.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/trackable-book-6.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/tree-1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/tree-2.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/videogame-frame.png
Diff not rendered.
Diff not rendered.
Binary file removed test-data/AUTOGEN/binarized/windows-screenshot.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/0.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/1.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/10.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/100.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/101.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/102.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/103.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/104.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/105.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/106.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/107.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/108.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/109.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/11.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/110.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/111.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/112.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/113.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/114.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/115.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/116.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/117.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/118.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/119.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/12.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/120.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/121.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/122.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/123.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/124.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/125.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/126.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/127.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/128.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/129.png
Diff not rendered.
Binary file removed test-data/AUTOGEN/extracted/13.png
Diff not rendered.
Loading