idk oh well
This commit is contained in:
10 files changed
+263
-72
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user