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:
6767 check modularInverse (17 , 17 ).is_none ()
6868
6969 randomize ()
70- const randomTestSize = 1000
70+ const randomTestSize = 10
7171 for testNum in 0 .. randomTestSize:
7272 let a = rand (- 10000000 .. 10000000 )
7373 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.} =
5959 # 0b100_0001, so setting the sixth bit to 1 gives letter's lowercase pair.
6060 char (uint8 (c) or 0b 0010_0000 'u8 )
6161
62- template normalizeChar (c: char ) =
62+ template normalizeChar (c: char ): char =
6363 # # Checks if the character is a letter and lowers its case.
6464 # #
6565 # # Raises a `ValueError` on other characters.
You can’t perform that action at this time.
0 commit comments