Ejemplo n.º 1
0
 public void QueryAll_PrimitiveType(string type)
 {
     TestQueryAll(
         new[] { type },
         TestSyntaxFactory.ParseStatement($"{type} x;"),
         $"//{type}"
         );
 }
Ejemplo n.º 2
0
 public void QueryAll_Statement(string query, string code, string expected)
 {
     TestQueryAll(new[] { expected }, TestSyntaxFactory.ParseStatement(code), query);
 }
Ejemplo n.º 3
0
 public void QueryAll_SwitchSection(string query, string code, string[] expected)
 {
     TestQueryAll(expected, TestSyntaxFactory.ParseStatement(code), query);
 }