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
@@ -9,6 +9,7 @@ LIB_MCS_FLAGS = /unsafe
|
||||
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
|
||||
XTEST_LIB_REFS = System Facades/System.Threading.Tasks Facades/System.Runtime.InteropServices.RuntimeInformation System.Core System.Numerics.Vectors Microsoft.CSharp
|
||||
XTEST_LIB_FLAGS = -unsafe
|
||||
LIBRARY_WARN_AS_ERROR = yes
|
||||
|
||||
RESX_RESOURCE_STRING = \
|
||||
../../../external/corefx/src/System.Runtime.Numerics/src/Resources/Strings.resx \
|
||||
|
@@ -560,7 +560,7 @@ namespace MonoTests.System.Numerics
|
||||
Assert.AreEqual (val, (long)a, "#a_" + val);
|
||||
Assert.AreEqual (val, (long)b, "#b_" + val);
|
||||
Assert.AreEqual (a, b, "#a == #b (" + val + ")");
|
||||
} catch (Exception e) {
|
||||
} catch (Exception) {
|
||||
Assert.Fail ("could not roundtrip {0}", val);
|
||||
}
|
||||
}
|
||||
@@ -1259,13 +1259,17 @@ namespace MonoTests.System.Numerics
|
||||
Assert.AreEqual ("0", a.ToString (), "#4");
|
||||
|
||||
a = new BigInteger ();
|
||||
#pragma warning disable 1718
|
||||
Assert.AreEqual (true, a == a, "#5");
|
||||
#pragma warning restore
|
||||
|
||||
a = new BigInteger ();
|
||||
#pragma warning disable 1718
|
||||
Assert.AreEqual (false, a < a, "#6");
|
||||
#pragma warning restore
|
||||
|
||||
a = new BigInteger ();
|
||||
Assert.AreEqual (true, a < 10l, "#7");
|
||||
Assert.AreEqual (true, a < 10L, "#7");
|
||||
|
||||
a = new BigInteger ();
|
||||
Assert.AreEqual (true, a.IsEven, "#8");
|
||||
|
Reference in New Issue
Block a user