Mercurial > hg > truffle
comparison graal/com.oracle.max.graal.jtt/src/com/oracle/graal/jtt/lang/Math_sin.java @ 5060:4ed4295ce15f
Update import statements.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 08 Mar 2012 19:11:12 +0100 |
parents | ed559a528128 |
children |
comparison
equal
deleted
inserted
replaced
5059:ed559a528128 | 5060:4ed4295ce15f |
---|---|
18 * | 18 * |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.max.graal.jtt.lang; | 23 package com.oracle.graal.jtt.lang; |
24 | 24 |
25 import org.junit.*; | 25 import org.junit.*; |
26 | 26 |
27 /* | 27 /* |
28 */ | 28 */ |
39 throw new NaN(); | 39 throw new NaN(); |
40 } | 40 } |
41 return v; | 41 return v; |
42 } | 42 } |
43 | 43 |
44 @Test(expected = com.oracle.max.graal.jtt.lang.Math_sin.NaN.class) | 44 @Test(expected = com.oracle.graal.jtt.lang.Math_sin.NaN.class) |
45 public void run0() throws Throwable { | 45 public void run0() throws Throwable { |
46 test(java.lang.Double.NaN); | 46 test(java.lang.Double.NaN); |
47 } | 47 } |
48 | 48 |
49 @Test(expected = com.oracle.max.graal.jtt.lang.Math_sin.NaN.class) | 49 @Test(expected = com.oracle.graal.jtt.lang.Math_sin.NaN.class) |
50 public void run1() throws Throwable { | 50 public void run1() throws Throwable { |
51 test(java.lang.Double.NEGATIVE_INFINITY); | 51 test(java.lang.Double.NEGATIVE_INFINITY); |
52 } | 52 } |
53 | 53 |
54 @Test(expected = com.oracle.max.graal.jtt.lang.Math_sin.NaN.class) | 54 @Test(expected = com.oracle.graal.jtt.lang.Math_sin.NaN.class) |
55 public void run2() throws Throwable { | 55 public void run2() throws Throwable { |
56 test(java.lang.Double.POSITIVE_INFINITY); | 56 test(java.lang.Double.POSITIVE_INFINITY); |
57 } | 57 } |
58 | 58 |
59 @Test | 59 @Test |