Last active
August 29, 2015 13:56
-
-
Save devshorts/9241323 to your computer and use it in GitHub Desktop.
Investigating why NUnit Assert.AreEqual doesn't work for identitical tuples with arrays
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > z;; | |
| val it : int [] * int = ([|1|], 1) | |
| > p;; | |
| val it : int [] * int = ([|1|], 1) | |
| > z.Equals(p);; | |
| val it : bool = false | |
| > z = p;; | |
| val it : bool = true | |
| > |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Special stuff for arrays in NUnit: