public void Quantifiers_Contains() { // Arrange var products = FakeProduct.Data.Generate(5); // Act var result = _quantifiers.Contains(products); // Assert Assert.True(result); }
private static bool IsFunctionName(string tok) { char begin = tok[0]; bool isIdentifier = char.IsLetter(begin) || begin.CompareTo('$') == 0 || begin.CompareTo('_') == 0 || '"' == begin; return(isIdentifier && !Formatter.Logical.Contains(tok) && !EndClauses.Contains(tok) && !Quantifiers.Contains(tok) && !Dml.Contains(tok) && !Formatter.Misc.Contains(tok)); }