Skip to content

Commit

Permalink
Simplify range creation in test again
Browse files Browse the repository at this point in the history
  • Loading branch information
giladbarkan-github committed Sep 17, 2024
1 parent 0753048 commit 887202b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/src/flexible-event/privacy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void test('epsilonToBoundInfoGainAndDp', async (t) => {
const numTests = 500

await Promise.all(
[...Array(numTests).keys()].map((i) =>
Array(numTests).fill(0).map((_, i) =>
t.test(`${i}`, () => {
const numStates = Math.ceil(Math.random() * numStatesRange)
const infoGainUpper = infoGainUppers[Math.round(Math.random())]!
Expand Down

0 comments on commit 887202b

Please sign in to comment.