Skip to content

Commit

Permalink
fix: random_values_in_range in test_adrv9002
Browse files Browse the repository at this point in the history
Signed-off-by: Trecia Agoylo <[email protected]>
  • Loading branch information
tagoylo committed Aug 18, 2023
1 parent d5dc0bd commit c3ef8ae
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 c3ef8ae

Please sign in to comment.