Skip to content

Lesson 19 : Rectangles do not overlap (but they do) #1114

@TheoMorel

Description

@TheoMorel

Describe the bug
The "Rectangles do not overlap" is succesful but the rectangles are overlapping on the screen.
The "Rectangles have the correct size" fails but the rectangles have the correct size.

To Reproduce
Steps to reproduce the bug:

  1. Go to Lesson 19 > Back to the drawing board
  2. Define the run function
func run():
	for rect in rectangle_sizes:
		draw_rectangle(rect.x, rect.y)
  1. Press run
  2. See that the "Rectangles do not overlap" test is succesful
  3. See that the "Rectangles have the correct size" fails

Expected behavior
I would expect the "Rectangles do not overlap" test to fail.
I woudl expect the "Rectangles have the correct size" to be succesful.

Screenshots

Image

Information about your device (please complete the following information):

  • Operating System: Windows
  • Browser: Firefox

Additional context
Nothing to add

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions