Skip to content

Commit f59cb2b

Browse files
authored
Add floating-point scenario to 'triangle' (#2349)
1 parent fa6575d commit f59cb2b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

exercises/triangle/canonical-data.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
" Your track may choose to skip this test ",
6464
" and deal only with integers if appropriate "
6565
],
66+
"scenarios": ["floating-point"],
6667
"property": "equilateral",
6768
"input": {
6869
"sides": [0.5, 0.5, 0.5]
@@ -153,6 +154,7 @@
153154
" Your track may choose to skip this test ",
154155
" and deal only with integers if appropriate "
155156
],
157+
"scenarios": ["floating-point"],
156158
"property": "isosceles",
157159
"input": {
158160
"sides": [0.5, 0.4, 0.5]
@@ -225,6 +227,7 @@
225227
" Your track may choose to skip this test ",
226228
" and deal only with integers if appropriate "
227229
],
230+
"scenarios": ["floating-point"],
228231
"property": "scalene",
229232
"input": {
230233
"sides": [0.5, 0.4, 0.6]

0 commit comments

Comments
 (0)