Skip to content

Grade school: new test raises a question #1824

Closed
@glennj

Description

@glennj

Regarding PR #1819

        {
          "uuid": "6a03b61e-1211-4783-a3cc-fc7f773fba3f",
          "reimplements": "c125dab7-2a53-492f-a99a-56ad511940d8",
          "comments": [
            "Reimplemented to be logically consistent"
          ],
          "description": "A student cannot be added to more than one grade in the sorted roster",
          "property": "roster",
          "input": {
            "students": [["Aimee", 2], ["Aimee", 1]]
          },
          "expected": ["Aimee"]
        },

All well and good, but what grade is Aimee in?

  1. grade 2 because that's what came first, or
  2. grade 1 because that's what came last?

I think we're missing the property:grade test for this scenario.

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