Skip to content

Report which parts of a region have not been filled in yet #43

Open

Description

@KurbyDoo

Background

A cell with a weight of zero was never written to. Dividing by it gives nonsense rather than an error, so nothing catches it on its own.

Description

Create a function that says whether a region has been completely filled in. Reading a grid that still has unfilled cells should fail with a clear message rather than hand back the nonsense.

Testing:

  • Assert a region nothing has been written to reports as not filled in
  • Assert a region fully covered by windows reports as filled in
  • Assert a region with a gap in the middle reports as not filled in and raises an error when read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions