Skip to content

Commit

Permalink
Use different values for each argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Jan 8, 2025
1 parent 54e37a3 commit c695dac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/magick-image/bilateral-blur.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import { TestFiles } from '@test/test-files';
describe('MagickImage#bilateralBlur', () => {
it('should change pixels of the image', () => {
TestFiles.Images.Builtin.logo.use(image => {
image.bilateralBlur(5, 5);
expect(image).toHavePixelWithColor(387, 435, '#b2191dff');
image.bilateralBlur(5, 6);
expect(image).toHavePixelWithColor(387, 435, '#b5191eff');
});
});

it('should use the specified sigma values', () => {
TestFiles.Images.Builtin.logo.use(image => {
image.bilateralBlur(5, 5, 10, 10);
expect(image).toHavePixelWithColor(387, 435, '#c11b1fff');
image.bilateralBlur(5, 6, 7, 8);
expect(image).toHavePixelWithColor(387, 435, '#b4191dff');
});
});
});

0 comments on commit c695dac

Please sign in to comment.