IronRuby.Tests.Tests.TestCorrectPatternTranslation C# (CSharp) Method

TestCorrectPatternTranslation() private method

private TestCorrectPatternTranslation ( string pattern, RubyRegexOptions options, string expected, bool expectedGAnchor ) : void
pattern string
options RubyRegexOptions
expected string
expectedGAnchor bool
return void
        private void TestCorrectPatternTranslation(string/*!*/ pattern, RubyRegexOptions options, string/*!*/ expected, bool expectedGAnchor) {
            bool hasGAnchor;
            string actual = RegexpTransformer.Transform(pattern, options, out hasGAnchor);
            AreEqual(expected, actual);
            new Regex(expected);
            Assert(hasGAnchor == expectedGAnchor);
        }

Same methods

Tests::TestCorrectPatternTranslation ( string pattern, string expected ) : void
Tests