public void ShouldNotTriggerOnSequencesComparedWithEquals()
        {
            var hint = new SequenceEqualHint();

            Expression<Func<bool>> exp = () => new List<int> {1}.Equals(new[] {2});

            string description;
            Assert.IsFalse(hint.TryGetHint(exp.Body, out description));
            Assert.IsNull(description);
        }
        public void ShouldTriggerOnSequencesComparedWithSequenceEqual()
        {
            var hint = new SequenceEqualHint();

            Expression<Func<bool>> exp = () => new List<int> {1}.SequenceEqual(new[] {2});
            var p = new ExpressionParser(exp.Body);

            string description;
            Assert.IsTrue(hint.TryGetHint(p, exp.Body, out description));
            Assert.IsNotNull(description);
        }