1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method VerifyDependentDemand ( 
 |    DependentDemand dependentdemand, 
 |    DateTime expectedstart, 
 |    DateTime expectedend, 
 |    Real expectedquantity 
 |  ) 
 |  { 
 |    Description: 'Verify start, end and quantity of dependent demand against the expected values.' 
 |    TextBody: 
 |    [* 
 |      run:= this.Run(); 
 |      run.AssertEqual( expectedstart, dependentdemand.Start(), "Dependent demand start do not match expected value" ); 
 |      run.AssertEqual( expectedend, dependentdemand.End(), "Dependent demand end do not match expected value" ); 
 |      run.AssertEqual( expectedquantity, dependentdemand.Quantity(), "Dependent demand quantity do not match expected value" ); 
 |    *] 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |