Skip to content

Commit 3c577d7

Browse files
BlocksecPHDBlocksecPHD
andauthored
Add test for exact googol (10**100) in intword() (#304)
Co-authored-by: BlocksecPHD <blocksecphd@gmail.com>
1 parent 52609bf commit 3c577d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_number.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def test_intword_powers() -> None:
122122
([2e100], "2.0 googol"),
123123
([None], "None"),
124124
(["1230000", "%0.2f"], "1.23 million"),
125+
([10**100], "1.0 googol"),
125126
([10**101], "10.0 googol"),
126127
([math.nan], "NaN"),
127128
([math.inf], "+Inf"),

0 commit comments

Comments
 (0)