From a0fcfc20add9f3a271a88fb253bd337fe9b5ff4b Mon Sep 17 00:00:00 2001 From: Harsh Kumar Gupta Date: Thu, 19 Dec 2024 16:12:27 +0530 Subject: [PATCH] Correct function names in test helpers for consistency --- package-lock.json | 6 +++--- test/helpers/test.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 55381341..a1bb9b6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "openseadragon", - "version": "5.0.1", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "openseadragon", - "version": "5.0.1", + "version": "5.0.0", "license": "BSD-3-Clause", "devDependencies": { "eslint-plugin-compat": "^4.1.2", @@ -5217,4 +5217,4 @@ } } } -} +} \ No newline at end of file diff --git a/test/helpers/test.js b/test/helpers/test.js index 7e34babd..2745bcb0 100644 --- a/test/helpers/test.js +++ b/test/helpers/test.js @@ -59,7 +59,7 @@ }, // ---------- - equalsWithVariance: function (value1, value2, variance) { + equalsWithVariance: function (value1, value2, variance) { return Math.abs(value1 - value2) <= variance; }, @@ -72,13 +72,13 @@ }, // ---------- - assertPointEquals: function (assert, actualPoint, expectedPoint, precision, message) { + assertPointsEquals: function (assert, actualPoint, expectedPoint, precision, message) { Util.assessNumericValue(assert, actualPoint.x, expectedPoint.x, precision, message + " x: "); Util.assessNumericValue(assert, actualPoint.y, expectedPoint.y, precision, message + " y: "); }, // ---------- - assertRectangleEquals: function (assert, actualRect, expectedRect, precision, message) { + assertRectangleEquals: function (assert, actualRect, expectedRect, precision, message) { Util.assessNumericValue(assert, actualRect.x, expectedRect.x, precision, message + " x: "); Util.assessNumericValue(assert, actualRect.y, expectedRect.y, precision, message + " y: "); Util.assessNumericValue(assert, actualRect.width, expectedRect.width, precision, message + " width: ");