|
|
@@ -208,6 +208,15 @@ namespace MonoTests.System.Linq {
|
|
|
Assert.AreEqual (5, data.Max ());
|
|
|
}
|
|
|
|
|
|
+ [Test]
|
|
|
+ [Category ("NotWorking")]
|
|
|
+ public void TestMaxNullableInt32 ()
|
|
|
+ {
|
|
|
+ int? [] data = { null, null, null };
|
|
|
+
|
|
|
+ Assert.IsNull (data.Max (x => -x));
|
|
|
+ }
|
|
|
+
|
|
|
[Test]
|
|
|
public void TestMin ()
|
|
|
{
|
|
|
@@ -216,6 +225,15 @@ namespace MonoTests.System.Linq {
|
|
|
Assert.AreEqual (1, data.Min ());
|
|
|
}
|
|
|
|
|
|
+ [Test]
|
|
|
+ [Category ("NotWorking")]
|
|
|
+ public void TestMinNullableInt32 ()
|
|
|
+ {
|
|
|
+ int? [] data = { null, null, null };
|
|
|
+
|
|
|
+ Assert.IsNull (data.Min(x => -x));
|
|
|
+ }
|
|
|
+
|
|
|
[Test]
|
|
|
public void TestToList ()
|
|
|
{
|