Skip to content

Commit 246608f

Browse files
test: add tests for BiConstraintStream indictments
1 parent 478bcd2 commit 246608f

2 files changed

Lines changed: 348 additions & 273 deletions

File tree

core/src/main/java/ai/timefold/solver/core/impl/bavet/common/AbstractIfExistsNode.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ protected void incrementCounterRightWithoutIndictment(ExistsCounter<LeftTuple_>
113113
doRetractCounter(counter);
114114
}
115115
} // Else do not even propagate an update
116-
// NOTE: By not propagating here, the left tuple's indicted objects can be stale
117-
// if an element is removed.
116+
// NOTE: By not propagating here, the left tuple's indicted objects can be stale
117+
// if an element is removed.
118118
counter.countRight++;
119119
}
120120

@@ -126,8 +126,8 @@ protected void incrementCounterRightUpdatingIndictment(ExistsCounter<LeftTuple_>
126126
doRetractCounter(counter);
127127
}
128128
} // Else do not even propagate an update
129-
// NOTE: By not propagating here, the left tuple's indicted objects can be stale
130-
// if an element is removed.
129+
// NOTE: By not propagating here, the left tuple's indicted objects can be stale
130+
// if an element is removed.
131131
IndictmentSource.addSupport(getId(), counter.leftTuple, rightTuple);
132132
counter.countRight++;
133133
}

0 commit comments

Comments
 (0)