public void QueryAll_PrimitiveType(string type) { TestQueryAll( new[] { type }, TestSyntaxFactory.ParseStatement($"{type} x;"), $"//{type}" ); }
public void QueryAll_Statement(string query, string code, string expected) { TestQueryAll(new[] { expected }, TestSyntaxFactory.ParseStatement(code), query); }
public void QueryAll_SwitchSection(string query, string code, string[] expected) { TestQueryAll(expected, TestSyntaxFactory.ParseStatement(code), query); }