Fix Int32ExpressionMathTests.Negate().
authorJonathan Pryor <jonpryor@vt.edu>
Mon, 14 Jun 2010 16:48:47 +0000 (12:48 -0400)
committerJonathan Pryor <jonpryor@vt.edu>
Mon, 14 Jun 2010 16:48:47 +0000 (12:48 -0400)
commita33a38acce4144473ec3468b81e5a6aecd141b92
tree7af83b932b349980d2a65fba3102759c9a424158
parentfef1efc7b2057d70863ff244eba05727e0c6d825
Fix Int32ExpressionMathTests.Negate().

When I changed MathContract<T>.Negate() to check for Math<T>.IsTwosComplement,
I neglected to override the appropriate properties in ExpressionMath<T>.

Oops.

Fix the unit tests.
src/Cadenza.Core/Cadenza.Numerics/ExpressionMath.cs
src/Cadenza.Core/Documentation/en/Cadenza.Numerics/ExpressionMath`1.xml