maxpow4h/swiftz — pull request #40 by josephlord (2014-06-16 16:12:39+00:00)
Title: Tuple equality upto non-nested 6-tuples.

Not sure if you want to add this as it isn't the prettiest solution and it has arbitrary limits but it provides tuple equality operations for tuples with up to 6 values which can be of differing Equatable types.

It does not support nested tuples.

At the very least it can be useful for unit testing and checking expected return values of tuples.

Sorry about the length of the test but as they are separate functions I wanted to cover every length and check the negative cases and the !=.