import { sameSet } from "./sourceSet";

test("sameSet compares regardless of order", () => {
	expect(sameSet([1, 2, 3], [3, 1, 2])).toBe(true);
	expect(sameSet([], [])).toBe(true);
	expect(sameSet([1, 2], [1, 2, 3])).toBe(false);
	expect(sameSet([1, 2], [1, 4])).toBe(false);
});
