public void IgnoreBracesInTripleQuotes2()
 {
     String input = "printfn \"\"\"(){}\"[]\"\"\"";
       var extractor = new FSharpBraceExtractor(BraceList);
       var chars = Extract(extractor, input.Trim(), 0, 0);
       Assert.Equal(0, chars.Count);
 }
 public void IgnoreBracesInMultiLineString()
 {
     String input = "print \"some()\r\ntext()\r\nsome more()\"";
       var extractor = new FSharpBraceExtractor(BraceList);
       var chars = Extract(extractor, input.Trim(), 0, 0);
       Assert.Equal(0, chars.Count);
 }
 public void HandleParensInIncompleteSingleQuotesProperly()
 {
     String input = @"
     let munge (s : string) = s.Replace("" "", """").Replace('()
     ";
       var extractor = new FSharpBraceExtractor(BraceList);
       var chars = Extract(extractor, input.Trim(), 0, 0);
       Assert.Equal(6, chars.Count);
 }
 public void HandleGenericsCorrectly()
 {
     String input = @"
     let function1 (x: 'a) (y: 'a)
     ";
       var extractor = new FSharpBraceExtractor(BraceList);
       var chars = Extract(extractor, input.Trim(), 0, 0);
       Assert.Equal(4, chars.Count);
 }
 public void HandleQuoteAtEndOfIdentifier()
 {
     String input = @"
     let c' = 7
     let x = (3 + c')
     ";
       var extractor = new FSharpBraceExtractor(BraceList);
       var chars = Extract(extractor, input.Trim(), 0, 0);
       Assert.Equal(2, chars.Count);
 }
 public void IgnoreParensInSingleQuotes()
 {
     String input = @"
     let munge (s : string) = s.Replace("" "", """").Replace('(', '.').Replace(')', '.')
     ";
       var extractor = new FSharpBraceExtractor(BraceList);
       var chars = Extract(extractor, input.Trim(), 0, 0);
       Assert.Equal(8, chars.Count);
 }