示例#1
0
 public TestProgramBuilder WithOptimizedTriads(TestSourceKey sourceKey)
 {
     Program.OptimizedTriads = TestProgramsGenerator.GetOptimizedTriads(sourceKey);
     return(this);
 }
示例#2
0
 public TestProgramBuilder WithTriads(TestSourceKey sourceKey)
 {
     Program.Triads = TestProgramsGenerator.GetTriads(sourceKey);
     Program.TriadsConditionIndexes = TestProgramsGenerator.GetTriadsConditionIndexes(sourceKey);
     return(this);
 }
示例#3
0
 public TestProgramBuilder WithTokens(TestSourceKey sourceKey)
 {
     Program.Tokens = TestProgramsGenerator.GetTokens(sourceKey);
     return(this);
 }
示例#4
0
 public TestProgramBuilder WithPolis(TestSourceKey sourceKey)
 {
     Program.Polis = TestProgramsGenerator.GetPolis(sourceKey);
     Program.PolisConditionIndexes = TestProgramsGenerator.GetPolisConditionIndexes(sourceKey);
     return(this);
 }
示例#5
0
 public TestProgramBuilder WithSource(TestSourceKey sourceKey)
 {
     Program.Source = TestProgramsGenerator.GetSource(sourceKey);
     return(this);
 }