Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @DataProvider
- public Object[][] incorrect() {
- return new Object[][]{
- { Double.longBitsToDouble(0x0001234567890123L), Math.sqrt(Double.longBitsToDouble(0x0001234567890123L)) },
- { Double.longBitsToDouble(0x0000098264430100L), Math.sqrt(Double.longBitsToDouble(0x0000098264430100L)) }
- };
- }
- @DataProvider
- public Object[][] correct() {
- return new Object[][]{
- { Double.longBitsToDouble(0x0421234567890123L), Math.sqrt(Double.longBitsToDouble(0x0421234567890123L)) },
- { Double.longBitsToDouble(0x0790000000000000L), Math.sqrt(Double.longBitsToDouble(0x0790000000000000L)) },
- { Double.longBitsToDouble(0x0010000000000000L), Math.sqrt(Double.longBitsToDouble(0x0010000000000000L)) }
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement