Beispiel #1
0
 public static List <bool> GetTriadsConditionIndexes(TestSourceKey key) =>
 key switch
 {
Beispiel #2
0
 public static List <Triad> GetTriads(TestSourceKey key) =>
 key switch
 {
 public TestProgramBuilder WithOptimizedTriads(TestSourceKey sourceKey)
 {
     Program.OptimizedTriads = TestProgramsGenerator.GetOptimizedTriads(sourceKey);
     return(this);
 }
Beispiel #4
0
 public static List <Token> GetTokens(TestSourceKey key) =>
 key switch
 {
 public TestProgramBuilder WithTriads(TestSourceKey sourceKey)
 {
     Program.Triads = TestProgramsGenerator.GetTriads(sourceKey);
     Program.TriadsConditionIndexes = TestProgramsGenerator.GetTriadsConditionIndexes(sourceKey);
     return(this);
 }
 public TestProgramBuilder WithPolis(TestSourceKey sourceKey)
 {
     Program.Polis = TestProgramsGenerator.GetPolis(sourceKey);
     Program.PolisConditionIndexes = TestProgramsGenerator.GetPolisConditionIndexes(sourceKey);
     return(this);
 }
 public TestProgramBuilder WithTokens(TestSourceKey sourceKey)
 {
     Program.Tokens = TestProgramsGenerator.GetTokens(sourceKey);
     return(this);
 }
 public TestProgramBuilder WithSource(TestSourceKey sourceKey)
 {
     Program.Source = TestProgramsGenerator.GetSource(sourceKey);
     return(this);
 }
Beispiel #9
0
 public static string GetSource(TestSourceKey key) =>
 key switch
 {