X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Numerics%2FTest%2FSystem.Numerics%2FBigIntegerTest.cs;h=098c50854b78f1be97ebd61df42710541e7ccbbc;hb=e86837b7d28558b34d38f54d4d7e99a97f1aae1b;hp=dd5afb61204a451ae5c16b059a338e65eb9eff98;hpb=043b9d20258f7100df8ed1e96d355fd98e12fb51;p=mono.git diff --git a/mcs/class/System.Numerics/Test/System.Numerics/BigIntegerTest.cs b/mcs/class/System.Numerics/Test/System.Numerics/BigIntegerTest.cs index dd5afb61204..098c50854b7 100644 --- a/mcs/class/System.Numerics/Test/System.Numerics/BigIntegerTest.cs +++ b/mcs/class/System.Numerics/Test/System.Numerics/BigIntegerTest.cs @@ -150,6 +150,9 @@ namespace MonoTests.System.Numerics Assert.AreEqual (2, (int)BigInteger.GreatestCommonDivisor (-12345678, -8765432), "#14"); Assert.AreEqual (40, (int)BigInteger.GreatestCommonDivisor (5581 * 40, 6671 * 40), "#15"); + + Assert.AreEqual (5, (int)BigInteger.GreatestCommonDivisor (-5, 0), "#16"); + Assert.AreEqual (5, (int)BigInteger.GreatestCommonDivisor (0, -5), "#17"); } [Test]