idk oh well

This commit is contained in:
mindfulminun committed 2023-12-12 21:21:15 -06:00
1 parent 6834c45ac1
commit 528fbc7a92
10 files changed
+263 -72

No files matched your search

+2 -6
View File
@@ -1,12 +1,8 @@
import {
choose, fill, range, limit
fill, range, limit
} from "../core/iterable.ts"
import { assertThrows, assertEquals, assert } from "https://deno.land/[email protected]/testing/asserts.ts"
Deno.test("choose: throw on empty array", () => {
assertThrows(() => choose([]))
})
import { assertEquals, assert } from "https://deno.land/[email protected]/testing/asserts.ts"
Deno.test("fill, yield the same value every time", () => {
const count = 50_000