From abe931d61dc537ea0a4b5faa6dddb8a42c4d367d Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 14 Mar 2026 17:39:37 -0600 Subject: [PATCH] style: Improve readability of edge case numbers in tests --- calculator/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calculator/test.js b/calculator/test.js index 8d43962..7852334 100644 --- a/calculator/test.js +++ b/calculator/test.js @@ -172,8 +172,8 @@ const edgeCaseNumbers = [ Number.MAX_SAFE_INTEGER, Number.MIN_SAFE_INTEGER, Math.PI, Math.E, - 1e-6, -1e-6, 1e-8, -1e-8, - 1e6, -1e6, 1e8, -1e8, + 0.000001, -0.000001, 0.00000001, -0.00000001, + 1000000, -1000000, 100000000, -100000000, 0.1+0.2, // floating point fun 1/3, 2/3, 0.9999999, 1.0000001 ];