remove test, oops

This commit is contained in:
MathMan05
2025-11-26 14:48:15 -06:00
parent 8f2efff694
commit aa40eee097
-7
View File
@@ -5,13 +5,6 @@ import { describe, it } from "node:test";
import assert from "node:assert/strict";
describe("Array extensions", () => {
it("partition", () => {
const arr = [1, 2, 3, 4, 5];
const [even, odd] = arr.partition((n) => n % 2 === 0);
assert.deepEqual(even, [2, 4]);
assert.deepEqual(odd, [1, 3, 5]);
});
it("remove", () => {
const arr = [1, 2, 3, 4, 5];
arr.remove(3);