Skip to content

Commit

Permalink
test: add xyGrowingX failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Nov 12, 2024
1 parent 4702fe6 commit e30189a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/xy/__tests__/xyGrowingX.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit e30189a

Please sign in to comment.