Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
8
node_modules/fast-check/lib/esm/arbitrary/constantFrom.js
generated
vendored
Normal file
8
node_modules/fast-check/lib/esm/arbitrary/constantFrom.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { ConstantArbitrary } from './_internals/ConstantArbitrary.js';
|
||||
function constantFrom(...values) {
|
||||
if (values.length === 0) {
|
||||
throw new Error('fc.constantFrom expects at least one parameter');
|
||||
}
|
||||
return new ConstantArbitrary(values);
|
||||
}
|
||||
export { constantFrom };
|
||||
Loading…
Add table
Add a link
Reference in a new issue