| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method VerifyUnitPeriod ( |  |   Date periodstart, |  |   Real expectedbottleneckthreshold, |  |   Real bottleneckthreshold, |  |   Real expectedoverloadthreshold, |  |   Real overloadthreshold, |  |   Real expectedbasecapacity, |  |   Real basecapacity, |  |   Real expectedallowedcapacity, |  |   Real allowedcapacity, |  |   Boolean expectedisexceedoverload, |  |   Boolean isexceedoverload, |  |   Boolean expectedisbottleneck, |  |   Boolean isbottleneck, |  |   String stepdescription |  | ) |  | { |  |   TextBody: |  |   [* |  |      |  |     this.Run().AssertEqual( expectedoverloadthreshold, overloadthreshold, this.GetFailureMessage( stepdescription, "UnitPeriod.BottleneckThreshold", periodstart ) ); |  |     this.Run().AssertEqual( expectedbottleneckthreshold, bottleneckthreshold, this.GetFailureMessage( stepdescription, "UnitPeriod.OverloadThreshold", periodstart ) ); |  |     this.Run().AssertEqual( expectedbasecapacity, basecapacity, this.GetFailureMessage( stepdescription, "UnitPeriod.BaseAvailableCapacity", periodstart ) ); |  |     this.Run().AssertEqual( expectedallowedcapacity, allowedcapacity, this.GetFailureMessage( stepdescription, "UnitPeriod.TotalAvailableCapacity", periodstart ) ); |  |     this.Run().AssertEqual( [String]expectedisexceedoverload, [String]isexceedoverload , this.GetFailureMessage( stepdescription, "UnitPeriodTime.IsExceedOverloadThreshold", periodstart ) ); |  |     this.Run().AssertEqual( [String]expectedisbottleneck, [String]isbottleneck, this.GetFailureMessage( stepdescription, "UnitPeriodTime.IsBottleneck", periodstart ) ); |  |   *] |  |   InterfaceProperties { Accessibility: 'Module' } |  | } | 
 |