Fixed confusing values

This commit is contained in:
nathan 2016-03-01 04:13:49 +01:00
parent 9aef066506
commit c2d9c5341b

View File

@ -128,7 +128,7 @@ class RmiTest extends BaseTest {
System.out.println("You should see this 2 seconds before"); System.out.println("You should see this 2 seconds before");
float slow = test.slow(); float slow = test.slow();
System.out.println("...This"); System.out.println("...This");
assertEquals(slow, 123, .0001D); assertEquals(slow, 123, 0.0001D);
// Test sending a reference to a remote object. // Test sending a reference to a remote object.
@ -304,7 +304,7 @@ class RmiTest extends BaseTest {
} catch (InterruptedException e) { } catch (InterruptedException e) {
e.printStackTrace(); e.printStackTrace();
} }
return 123f; return 123.0F;
} }
@Override @Override