Skip to content

Commit

Permalink
Correct name of test image.
Browse files Browse the repository at this point in the history
dlemstra committed Nov 23, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 511448e commit 3459f4f
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/connected-component/to-geometry.spec.ts
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import { TestImages } from '@test/test-images';

describe('ConnectedComponent#toGeometry', () => {
it('converts the component to a geometry', () => {
TestImages.connectedComponents.use((image) => {
TestImages.connectedComponentsPng.use((image) => {
image.clone((clone) => {
clone.blur(0, 10);
clone.threshold(new Percentage(50));
2 changes: 1 addition & 1 deletion tests/magick-image/connected-components.spec.ts
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ type ComponentTestData = Required<Omit<ConnectedComponent, 'toGeometry'>>;

describe('MagickImage#connectedComponents', () => {
test('should return the connected components', () => {
TestImages.connectedComponents.use((image) => {
TestImages.connectedComponentsPng.use((image) => {
image.clone((clone) => {
clone.blur(0, 10);
clone.threshold(new Percentage(50));
2 changes: 1 addition & 1 deletion tests/test-images.ts
Original file line number Diff line number Diff line change
@@ -114,7 +114,7 @@ export class TestImages {
static readonly emptyCollection = new EmptyTestImageCollection();
static readonly empty150x150Canvas = new TestImageFromColor(MagickColors.White, 150, 150);
static readonly cmykJpg = new TestImage('tests/images/cmyk.jpg');
static readonly connectedComponents = new TestImage('tests/images/connected-components.png');
static readonly connectedComponentsPng = new TestImage('tests/images/connected-components.png');
static readonly fujiFilmFinePixS1ProJpg = new TestImage('tests/images/fuji-film-fine-pix-s1-pro.jpg');
static readonly imageMagickJpg = new TestImage('tests/images/image-magick.jpg');
static readonly redPng = new TestImage('tests/images/red.png');

0 comments on commit 3459f4f

Please sign in to comment.