From e30189a30866224728ac35053c5efd47c57aaa34 Mon Sep 17 00:00:00 2001 From: Luc Patiny Date: Tue, 12 Nov 2024 09:32:34 +0100 Subject: [PATCH] test: add xyGrowingX failing test --- src/xy/__tests__/xyGrowingX.test.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/xy/__tests__/xyGrowingX.test.ts b/src/xy/__tests__/xyGrowingX.test.ts index 768beac8..0927223e 100644 --- a/src/xy/__tests__/xyGrowingX.test.ts +++ b/src/xy/__tests__/xyGrowingX.test.ts @@ -13,6 +13,17 @@ test('test xyGrowingX do nothing', () => { }); }); +test('test xyGrowingX do nothing', () => { + const x = [1, 2, 3]; + const y = [1, 2, 3]; + const result = xyGrowingX({ x, y }); + + expect(result).toStrictEqual({ + x: [1, 2, 3], + y: [1, 2, 3], + }); +}); + test('test xyGrowingX reverse', () => { const x = [3, 2, 1, 0]; const y = [0, 1, 2, 3];