public void GetPossibleMatchLengths_For1_2() { var expected = new int [] {1,2}; var expression = new AlternationExpression<char> (MatchLength1,MatchLength2); expression.AssertPossibleMatchLengths (expected); }
public void GetPossibleMatchLengths_ForEmpty() { var expected = new int [] {0}; var expression = new AlternationExpression<char> (); expression.AssertPossibleMatchLengths (expected); }
public void GetPossibleMatchLengths_For0_2_3to5() { var expected = new int [] {0, 2, 3,4,5}; var expression = new AlternationExpression<char> (MatchLength0,MatchLength2,MatchLengths3to5); expression.AssertPossibleMatchLengths (expected); }