Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 9 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { SnippetTesterAsync } from 'tests/utils'; |
||
2 | |||
3 | suite('random'); |
||
4 | |||
5 | test('Positive: random integer @example', async function () { |
||
6 | await SnippetTesterAsync(({ random }) => { |
||
7 | return random.int(10, 0); // uniform distribution [0, 10] |
||
8 | }); |
||
9 | }); |
||
10 |