Mercurial > hg > truffle
changeset 22547:c3a7ad415a8a
Improving formating
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Thu, 14 Jan 2016 14:13:20 +0100 |
parents | e77bcc4e4af6 |
children | 6b76a24fffbd |
files | truffle/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SLTckTest.java truffle/com.oracle.truffle.tck/src/com/oracle/truffle/tck/TruffleTCK.java |
diffstat | 2 files changed, 8 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SLTckTest.java Thu Jan 14 14:12:46 2016 +0100 +++ b/truffle/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SLTckTest.java Thu Jan 14 14:13:20 2016 +0100 @@ -47,7 +47,6 @@ import org.junit.After; - import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertTrue;
--- a/truffle/com.oracle.truffle.tck/src/com/oracle/truffle/tck/TruffleTCK.java Thu Jan 14 14:12:46 2016 +0100 +++ b/truffle/com.oracle.truffle.tck/src/com/oracle/truffle/tck/TruffleTCK.java Thu Jan 14 14:13:20 2016 +0100 @@ -358,15 +358,15 @@ throw new UnsupportedOperationException("valuesObject() method not implemented"); } - /** Assert two double values are the same. Various languages may have different - * semantics with respect to double numbers. Some of the language may not - * support <b>double</b> or <b>float</b> values at all. Those languages - * may override this method and compare the values with as much precision - * as they like. + /** + * Assert two double values are the same. Various languages may have different semantics with + * respect to double numbers. Some of the language may not support <b>double</b> or <b>float</b> + * values at all. Those languages may override this method and compare the values with as much + * precision as they like. * <p> * Default implementation of this method calls - * {@link Assert#assertEquals(java.lang.String, double, double, double)} - * with delta <code>0.1</code>. + * {@link Assert#assertEquals(java.lang.String, double, double, double)} with delta + * <code>0.1</code>. * * @param msg assertion message to display in case of error * @param expectedValue the value expected by the test @@ -556,7 +556,7 @@ Number n = plus.execute(a, b).as(Number.class); assertDouble("Correct value computed: (" + a + " + " + b + ")", a + b, n.floatValue()); - } + } @Test public void testPlusWithDouble() throws Exception {