Main > Reference Manual > Unit tests > TestOperationEffective
This test checks the code for alternate operations where date effectivity is involved.
The end product in this test can be produced in 2 locations. In a first part of the horizon location A is the only allowed source, while in the last part of the horizon only sourcing from location B is possible.
Three situations are tested:
- No constraints and we have demands in different parts of the horizon.
- A demand due in the first part of the horizon is delayed such that it spans into the second part of the horizon.
- A demand due in the second part of the horizon requires capacity in the first part of the effectivity horizon.