common/exercises/rectangles/canonical-data.json in trackler-2.0.6.11 vs common/exercises/rectangles/canonical-data.json in trackler-2.0.6.12
- old
+ new
@@ -49,9 +49,34 @@
"+-+-+"
],
"expected": 5
},
{
+ "description": "rectangle of height 1 is counted",
+ "input": [
+ "+--+",
+ "+--+"
+ ],
+ "expected": 1
+ },
+ {
+ "description": "rectangle of width 1 is counted",
+ "input": [
+ "++",
+ "||",
+ "++"
+ ],
+ "expected": 1
+ },
+ {
+ "description": "1x1 square is counted",
+ "input": [
+ "++",
+ "++"
+ ],
+ "expected": 1
+ },
+ {
"description": "only complete rectangles are counted",
"input": [
" +-+",
" |",
"+-+-+",