Skip to content

Commit 51304e8

Browse files
Use reduced rational number as input
1 parent aa68104 commit 51304e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/rational-numbers/canonical-data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
"property": "expreal",
408408
"input": {
409409
"x": -1,
410-
"r": [2, 2]
410+
"r": [1, 1]
411411
},
412412
"expected": -1.0
413413
},
@@ -417,7 +417,7 @@
417417
"property": "expreal",
418418
"input": {
419419
"x": -1,
420-
"r": [2, 4]
420+
"r": [1, 2]
421421
},
422422
"expected": {
423423
"error": "the result of this operation is a complex number"

0 commit comments

Comments
 (0)