1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.hipparchus.analysis.differentiation;
19
20 import org.hipparchus.Field;
21 import org.hipparchus.util.Binary64;
22 import org.hipparchus.util.Binary64Field;
23 import org.junit.Test;
24
25
26
27
28 public class FieldDerivativeStructureBinary64Test extends FieldDerivativeStructureAbstractTest<Binary64> {
29
30 @Override
31 protected Field<Binary64> getField() {
32 return Binary64Field.getInstance();
33 }
34
35 @Override
36 @Test
37 public void testComposeField() {
38 doTestComposeField(new double[] { 1.0e-100, 5.0e-14, 2.0e-13, 3.0e-13, 2.0e-13, 1.0e-100 });
39 }
40
41 @Override
42 @Test
43 public void testComposePrimitive() {
44 doTestComposePrimitive(new double[] { 1.0e-100, 5.0e-14, 2.0e-13, 3.0e-13, 2.0e-13, 1.0e-100 });
45 }
46
47 @Override
48 @Test
49 public void testHypotNoOverflow() {
50 doTestHypotNoOverflow(250);
51 }
52
53 }