You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
@ -8,7 +8,6 @@
|
||||
|
||||
using NUnit.Framework;
|
||||
using System;
|
||||
using MonoTests.Common;
|
||||
using System.Globalization;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Threading;
|
||||
@ -149,7 +148,7 @@ namespace MonoTests.System
|
||||
Assert.AreEqual(1, Decimal.ToByte(1));
|
||||
Assert.AreEqual(255, Decimal.ToByte(255));
|
||||
|
||||
AssertExtensions.Throws<OverflowException>(() => Decimal.ToByte(256), "Expected an overflow");
|
||||
Assert.Throws<OverflowException>(() => Decimal.ToByte(256), "Expected an overflow");
|
||||
}
|
||||
|
||||
private void VerifyAdd<T>(Decimal d1, Decimal d2, Decimal expected = Decimal.Zero) where T : Exception
|
||||
@ -698,7 +697,7 @@ namespace MonoTests.System
|
||||
Assert.IsTrue(d.CompareTo(247m) > 0);
|
||||
Assert.IsTrue(d.CompareTo(null) > 0);
|
||||
|
||||
AssertExtensions.Throws<ArgumentException>(() => d.CompareTo("248"), "Expected an argument exception");
|
||||
Assert.Throws<ArgumentException>(() => d.CompareTo("248"), "Expected an argument exception");
|
||||
}
|
||||
|
||||
[Test]
|
||||
@ -709,6 +708,7 @@ namespace MonoTests.System
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("InterpreterNotWorking")]
|
||||
public void TestToSingle()
|
||||
{
|
||||
// Single Decimal.ToSingle(Decimal)
|
||||
@ -726,6 +726,7 @@ namespace MonoTests.System
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("InterpreterNotWorking")]
|
||||
public void TestToDouble()
|
||||
{
|
||||
Double d = Decimal.ToDouble(new Decimal(0, 0, 1, false, 0));
|
||||
|
Reference in New Issue
Block a user