Skip to content

Commit

Permalink
Add floating-point scenario to 'triangle' (#2349)
Browse files Browse the repository at this point in the history
  • Loading branch information
senekor authored Dec 12, 2023
1 parent fa6575d commit f59cb2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exercises/triangle/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
" Your track may choose to skip this test ",
" and deal only with integers if appropriate "
],
"scenarios": ["floating-point"],
"property": "equilateral",
"input": {
"sides": [0.5, 0.5, 0.5]
Expand Down Expand Up @@ -153,6 +154,7 @@
" Your track may choose to skip this test ",
" and deal only with integers if appropriate "
],
"scenarios": ["floating-point"],
"property": "isosceles",
"input": {
"sides": [0.5, 0.4, 0.5]
Expand Down Expand Up @@ -225,6 +227,7 @@
" Your track may choose to skip this test ",
" and deal only with integers if appropriate "
],
"scenarios": ["floating-point"],
"property": "scalene",
"input": {
"sides": [0.5, 0.4, 0.6]
Expand Down

0 comments on commit f59cb2b

Please sign in to comment.