|
1 |
| -import { bool } from "./distribution/bool"; |
2 |
| -import { date } from "./distribution/date"; |
3 |
| -import { dice } from "./distribution/dice"; |
4 |
| -import { die } from "./distribution/die"; |
5 |
| -import { hex } from "./distribution/hex"; |
6 |
| -import { int32 } from "./distribution/int32"; |
7 |
| -import { int53 } from "./distribution/int53"; |
8 |
| -import { int53Full } from "./distribution/int53Full"; |
9 |
| -import { integer } from "./distribution/integer"; |
10 |
| -import { pick } from "./distribution/pick"; |
11 |
| -import { real } from "./distribution/real"; |
12 |
| -import { realZeroToOneExclusive } from "./distribution/realZeroToOneExclusive"; |
13 |
| -import { realZeroToOneInclusive } from "./distribution/realZeroToOneInclusive"; |
14 |
| -import { sample } from "./distribution/sample"; |
15 |
| -import { shuffle } from "./distribution/shuffle"; |
16 |
| -import { string } from "./distribution/string"; |
17 |
| -import { uint32 } from "./distribution/uint32"; |
18 |
| -import { uint53 } from "./distribution/uint53"; |
19 |
| -import { uint53Full } from "./distribution/uint53Full"; |
20 |
| -import { uuid4 } from "./distribution/uuid4"; |
21 |
| -import { nativeMath } from "./engine/nativeMath"; |
22 |
| -import { Random } from "./Random"; |
23 |
| -import { Distribution, Engine } from "./types"; |
24 |
| - |
25 |
| -jest.mock("./distribution/integer"); |
26 |
| -jest.mock("./distribution/real"); |
27 |
| -jest.mock("./distribution/bool"); |
28 |
| -jest.mock("./distribution/pick"); |
29 |
| -jest.mock("./distribution/shuffle"); |
30 |
| -jest.mock("./distribution/sample"); |
31 |
| -jest.mock("./distribution/die"); |
32 |
| -jest.mock("./distribution/dice"); |
33 |
| -jest.mock("./distribution/uuid4"); |
34 |
| -jest.mock("./distribution/string"); |
35 |
| -jest.mock("./distribution/hex"); |
36 |
| -jest.mock("./distribution/date"); |
37 |
| -jest.mock("./distribution/int32"); |
38 |
| -jest.mock("./distribution/int53"); |
39 |
| -jest.mock("./distribution/int53Full"); |
40 |
| -jest.mock("./distribution/realZeroToOneExclusive"); |
41 |
| -jest.mock("./distribution/realZeroToOneInclusive"); |
42 |
| -jest.mock("./distribution/uint32"); |
43 |
| -jest.mock("./distribution/uint53"); |
44 |
| -jest.mock("./distribution/uint53Full"); |
| 1 | +import { bool } from "../src/distribution/bool"; |
| 2 | +import { date } from "../src/distribution/date"; |
| 3 | +import { dice } from "../src/distribution/dice"; |
| 4 | +import { die } from "../src/distribution/die"; |
| 5 | +import { hex } from "../src/distribution/hex"; |
| 6 | +import { int32 } from "../src/distribution/int32"; |
| 7 | +import { int53 } from "../src/distribution/int53"; |
| 8 | +import { int53Full } from "../src/distribution/int53Full"; |
| 9 | +import { integer } from "../src/distribution/integer"; |
| 10 | +import { pick } from "../src/distribution/pick"; |
| 11 | +import { real } from "../src/distribution/real"; |
| 12 | +import { realZeroToOneExclusive } from "../src/distribution/realZeroToOneExclusive"; |
| 13 | +import { realZeroToOneInclusive } from "../src/distribution/realZeroToOneInclusive"; |
| 14 | +import { sample } from "../src/distribution/sample"; |
| 15 | +import { shuffle } from "../src/distribution/shuffle"; |
| 16 | +import { string } from "../src/distribution/string"; |
| 17 | +import { uint32 } from "../src/distribution/uint32"; |
| 18 | +import { uint53 } from "../src/distribution/uint53"; |
| 19 | +import { uint53Full } from "../src/distribution/uint53Full"; |
| 20 | +import { uuid4 } from "../src/distribution/uuid4"; |
| 21 | +import { nativeMath } from "../src/engine/nativeMath"; |
| 22 | +import { Random } from "../src/Random"; |
| 23 | +import { Distribution, Engine } from "../src/types"; |
| 24 | + |
| 25 | +jest.mock("../src/distribution/integer"); |
| 26 | +jest.mock("../src/distribution/real"); |
| 27 | +jest.mock("../src/distribution/bool"); |
| 28 | +jest.mock("../src/distribution/pick"); |
| 29 | +jest.mock("../src/distribution/shuffle"); |
| 30 | +jest.mock("../src/distribution/sample"); |
| 31 | +jest.mock("../src/distribution/die"); |
| 32 | +jest.mock("../src/distribution/dice"); |
| 33 | +jest.mock("../src/distribution/uuid4"); |
| 34 | +jest.mock("../src/distribution/string"); |
| 35 | +jest.mock("../src/distribution/hex"); |
| 36 | +jest.mock("../src/distribution/date"); |
| 37 | +jest.mock("../src/distribution/int32"); |
| 38 | +jest.mock("../src/distribution/int53"); |
| 39 | +jest.mock("../src/distribution/int53Full"); |
| 40 | +jest.mock("../src/distribution/realZeroToOneExclusive"); |
| 41 | +jest.mock("../src/distribution/realZeroToOneInclusive"); |
| 42 | +jest.mock("../src/distribution/uint32"); |
| 43 | +jest.mock("../src/distribution/uint53"); |
| 44 | +jest.mock("../src/distribution/uint53Full"); |
45 | 45 |
|
46 | 46 | describe("Random", () => {
|
47 | 47 | describe("constructor", () => {
|
|
0 commit comments