Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2683

CS test coverage: groupBy test coverage must do insert - retract - re-insert

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Optional Optional
    • None
    • None
    • Constraint Streams
    • NEW
    • NEW

      In GroupUniToBiNode in retractA remove the lineĀ 

      tupleOldA.groupStore[groupStoreIndex] = null;

      which cleans up after itself upon retract.
      CS Test coverage didn't fail when I forgot to do that in the original code, but vrp did fail.

      It would be nice to have the testing coverage this case too.

            Unassigned Unassigned
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: