big: Special case gcd(0,0) + lcm(0,0).

This commit is contained in:
Jeroen van Rijn
2021-08-11 20:59:52 +02:00
parent 8b1d8c8453
commit 06f5a6c785
2 changed files with 21 additions and 2 deletions
+4
View File
@@ -432,10 +432,14 @@ TESTS = {
test_gcd: [
[ 123, 25, ],
[ 125, 25, ],
[ 125, 0, ],
[ 0, 0, ],
],
test_lcm: [
[ 123, 25, ],
[ 125, 25, ],
[ 125, 0, ],
[ 0, 0, ],
],
}