File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ when isMainModule:
67
67
check modularInverse (17 , 17 ).is_none ()
68
68
69
69
randomize ()
70
- const randomTestSize = 1000
70
+ const randomTestSize = 10
71
71
for testNum in 0 .. randomTestSize:
72
72
let a = rand (- 10000000 .. 10000000 )
73
73
let modulus = rand (1 .. 1000000 )
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ func toLowerUnchecked(c: char): char {.inline.} =
59
59
# 0b100_0001, so setting the sixth bit to 1 gives letter's lowercase pair.
60
60
char (uint8 (c) or 0b 0010_0000 'u8 )
61
61
62
- template normalizeChar (c: char ) =
62
+ template normalizeChar (c: char ): char =
63
63
# # Checks if the character is a letter and lowers its case.
64
64
# #
65
65
# # Raises a `ValueError` on other characters.
You can’t perform that action at this time.
0 commit comments