From c56eee03e131af6a479302af1a9d84a29db48713 Mon Sep 17 00:00:00 2001 From: nofarb Date: Thu, 12 Jun 2025 21:42:51 -0500 Subject: [PATCH] Update mathUtils.test.js --- app/utils/mathUtils.test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/utils/mathUtils.test.js b/app/utils/mathUtils.test.js index 1345f9b..6a6fd2e 100644 --- a/app/utils/mathUtils.test.js +++ b/app/utils/mathUtils.test.js @@ -11,4 +11,9 @@ test('cube function', () => { expect(cube(-3)).toBe(-27); }); +test('cube2 function', () => { + expect(cube(2)).toBe(3); + expect(cube(-3)).toBe(-27); +}); + // Intentionally leave factorial untested for now