We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96678d2 + 9b9ea65 commit 35a80efCopy full SHA for 35a80ef
course/lesson-5-your-first-function/TestsDrawingThreeSquares.gd
@@ -20,9 +20,11 @@ func test_draw_three_squares_of_200_pixels() -> String:
20
return tr("You only drew one square. You need to draw three.")
21
elif count < 3:
22
return tr("You need to draw three squares.")
23
- elif count > 3:
24
- if polygons.size() == 4 and not polygons.back().is_empty():
+ elif count == 4:
+ if not polygons.back().is_empty():
25
return tr("You drew more than three squares. You need to draw only three!")
26
+ elif count > 4:
27
+ return tr("You drew more than three squares. You need to draw only three!")
28
29
var index := 1
30
for p in polygons:
0 commit comments