[ya-day1] tshortChooser prepare

This commit is contained in:
2024-10-27 23:50:47 +03:00
parent 7a566f2645
commit 17f0be347b
3 changed files with 19 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { describe, it, expect } from "vitest";
import { tiShortChoser } from "./tiShortChoser.ts";
describe("tiShortChoser", () => {
it("tiShortChoser 6, 2, 7, 3", () => {
expect(tiShortChoser(6, 2, 7, 3)).toEqual([3, 4]);
});
});