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");
22 if (Double.NaN < 0 || Double.NaN < 0)
23 throw new ArgumentException ("passes");
25 new NaNTest (Double.NaN, Double.NaN);