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