public void Matrix3x2GetHashCodeTest() { Matrix3x2 target = GenerateMatrixNumberFrom1To6(); int expected = unchecked (target.M11.GetHashCode() + target.M12.GetHashCode() + target.M21.GetHashCode() + target.M22.GetHashCode() + target.M31.GetHashCode() + target.M32.GetHashCode()); int actual; actual = target.GetHashCode(); Assert.Equal(expected, actual); }