Skip to content

Commit

Permalink
Merge pull request #464 from tagoylo/test-fixes
Browse files Browse the repository at this point in the history
fix: random_values_in_range in test_adrv9002
  • Loading branch information
tfcollins authored Aug 22, 2023
2 parents d5dc0bd + c3ef8ae commit 5152336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_adrv9002_p.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def random_values_in_range(start, stop, step, to_generate=1):
ind = randint(0, numints)
val = start + step * ind
if isinstance(val, float):
val = floor(val / step) * step
val = round(floor(val / step) * step, 2)
values.append(val)
return values

Expand Down

0 comments on commit 5152336

Please sign in to comment.