mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
big: Refactored gcm and lcm to use a common function.
This commit is contained in:
@@ -430,16 +430,18 @@ TESTS = {
|
||||
[ 12_345 ],
|
||||
],
|
||||
test_gcd: [
|
||||
[ 123, 25, ],
|
||||
[ 23, 25, ],
|
||||
[ 125, 25, ],
|
||||
[ 125, 0, ],
|
||||
[ 0, 0, ],
|
||||
[ 0, 125,],
|
||||
],
|
||||
test_lcm: [
|
||||
[ 123, 25, ],
|
||||
[ 23, 25,],
|
||||
[ 125, 25, ],
|
||||
[ 125, 0, ],
|
||||
[ 0, 0, ],
|
||||
[ 0, 125,],
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user