Quintiq file version 2.0 
 | 
#parent: #root 
 | 
TableFunction CalcTestInstanceKT 
 | 
{ 
 | 
  Condition: 'this.IsForBenchmarking();' 
 | 
  DefaultOutputFunction: 
 | 
  [* 
 | 
    // lauri Jun-18-2014 (created) 
 | 
    this.HasMatchInTestInstanceKT( false ); 
 | 
  *] 
 | 
  Description: 'this run matches a run in KT of test instances' 
 | 
  OutputFunction: 
 | 
  [* 
 | 
    // lauri Jun-18-2014 (created) 
 | 
    // desmondt Sept-24-2014 (edited) 
 | 
    // check if this instance exist in table 
 | 
    this.HasMatchInTestInstanceKT( true ); 
 | 
  *] 
 | 
  TableDefinition: TestInstances 
 | 
  FunctionColumnMatch 
 | 
  { 
 | 
    ColumnDefinition: ID 
 | 
    MatchExpression: 'this.TestInstanceID()' 
 | 
    Operator: '=' 
 | 
  } 
 | 
  FunctionColumnMatch 
 | 
  { 
 | 
    ColumnDefinition: Scenario 
 | 
    MatchExpression: "guard( this.ScenarioName(), '' )" 
 | 
    Operator: '=' 
 | 
  } 
 | 
  FunctionColumnMatch 
 | 
  { 
 | 
    ColumnDefinition: Strategy 
 | 
    MatchExpression: 'this.StrategyName()' 
 | 
    Operator: '=' 
 | 
  } 
 | 
} 
 |