[System.Windows.Forms] Disable failing test
[mono-project.git] / mcs / tests / test-678.cs
blob9d810eb53e0c36376dbf1e90d31003968d21ce55
1 using System;
3 public class NaNTest
5 public NaNTest (double width, double height)
7 if (width < 0 || height < 0)
8 throw new ArgumentException ("fails");
10 if (width <= 0 || height <= 0)
11 throw new ArgumentException ("fails 2");
13 if (width > 0 || height > 0)
14 throw new ArgumentException ("fails 3");
16 if (width >= 0 || height >= 0)
17 throw new ArgumentException ("fails 4");
20 public static int Main ()
22 if (Double.NaN < 0 || Double.NaN < 0)
23 throw new ArgumentException ("passes");
25 new NaNTest (Double.NaN, Double.NaN);
27 return 0;