public void HashCodeWithCustomComputation()
        {
            var sut = new LambdaComparer <Tuple <int, int> >((t1, t2) => t1.Item1 == t2.Item1, t => t.GetHashCode());

            sut.GetHashCode(new Tuple <int, int>(1, 2)).Should().Be(EqualityComparer <Tuple <int, int> > .Default.GetHashCode(new Tuple <int, int>(1, 2)));
        }
        public void HashCodeWithDefaultComputation()
        {
            var sut = new LambdaComparer <Tuple <int, int> >((t1, t2) => t1.Item1 == t2.Item1);

            sut.GetHashCode(new Tuple <int, int>(1, 2)).Should().Be(0);
        }
        public void EqualityWithCustomComparison()
        {
            var sut = new LambdaComparer <Tuple <int, int> >((t1, t2) => t1.Item1 == t2.Item1, t => t.GetHashCode());

            sut.Equals(new Tuple <int, int>(1, 2), new Tuple <int, int>(1, 3)).Should().BeTrue();
        }