Skip to content

Commit

Permalink
Debug r
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumlamm committed Dec 3, 2023
1 parent 4efa3a6 commit a43eafb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/trandom.nim
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ block: # check uniformity
var buckets = newSeq[int](nbuckets)
for x in 0..trials:
let r = rand(lo..hi)
echo r
doAssert(lo <= r)
doAssert(r <= hi)
total += r
Expand Down

0 comments on commit a43eafb

Please sign in to comment.