Skip to content

Commit

Permalink
Use reduced rational number as input
Browse files Browse the repository at this point in the history
  • Loading branch information
natanaelsirqueira committed Mar 2, 2023
1 parent aa68104 commit 51304e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/rational-numbers/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@
"property": "expreal",
"input": {
"x": -1,
"r": [2, 2]
"r": [1, 1]
},
"expected": -1.0
},
Expand All @@ -417,7 +417,7 @@
"property": "expreal",
"input": {
"x": -1,
"r": [2, 4]
"r": [1, 2]
},
"expected": {
"error": "the result of this operation is a complex number"
Expand Down

0 comments on commit 51304e8

Please sign in to comment.