Skip to content

Test with negative and 0 lengths sides of invalid triangles #1871

Description

@szabgab

I've encountered solution where the student only checked if the sides are 0 and not if they are negative. In other cases only one of the functions was checking if the triangle is even valid.

I submitted some additional tests for the Python track exercism/python#2704 , but was pointed to this file: https://github.com/exercism/problem-specifications/blob/main/exercises/triangle/canonical-data.json
Before adding those tests to the json file, I'd like to know if you think those should be added or it is ok if people only check for 0 length sides.

Activity

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions