From 1352e3d3d2517db05cb952fd5448fbe8ffbfa60d Mon Sep 17 00:00:00 2001 From: adroitwhiz Date: Sat, 16 May 2020 04:56:53 -0400 Subject: [PATCH] Fix raster smoothing test --- test/tests/Raster.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/tests/Raster.js b/test/tests/Raster.js index 883dff1a..e7f7b6b6 100644 --- a/test/tests/Raster.js +++ b/test/tests/Raster.js @@ -180,17 +180,17 @@ test('Raster#getAverageColor(path) with compound path', function() { { tolerance: 1e-3 }); }); -test('Raster#smoothing defaults to true', function() { +test('Raster#smoothing defaults to false', function() { var raster = new Raster(); - equals(raster.smoothing, true); + equals(raster.smoothing, false); }); test('Raster#smoothing', function() { - var raster = new Raster({ smoothing: false }); - equals(raster.smoothing, false); - - raster.smoothing = true; + var raster = new Raster({ smoothing: true }); equals(raster.smoothing, true); + + raster.smoothing = false; + equals(raster.smoothing, false); }); test('Raster#setSmoothing setting does not impact canvas context', function(assert) {