test_class.file: misc/diff/src/test/java/org/openscience/cdk/tools/diff/tree/DoubleDifferenceTest.java
test_class.identifier: DoubleDifferenceTest
test_class.superclass: extends CDKTestCase
test_case.body: @Test
      public void testOneNull() {
          IDifference result = DoubleDifference.construct("Foo", null, 1.0);
          Assert.assertNotNull(result);
  
          result = DoubleDifference.construct("Foo", 3.0, null);
          Assert.assertNotNull(result);
      }
test_case.class_method_signature: DoubleDifferenceTest.testOneNull()
test_case.full_signature: @Test public void testOneNull()
test_case.identifier: testOneNull
test_case.invocations: construct assertNotNull construct assertNotNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testOneNull()
focal_class.declarator: ERROR = 0.000000001
focal_class.modifier: private final static
focal_class.original_string: private final static double ERROR = 0.000000001;
focal_class.type: double
focal_class.var_name: ERROR
focal_class.declarator: name
focal_class.modifier: private
focal_class.original_string: private String              name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: first
focal_class.modifier: private
focal_class.original_string: private Double              first;
focal_class.type: Double
focal_class.var_name: first
focal_class.declarator: second
focal_class.modifier: private
focal_class.original_string: private Double              second;
focal_class.type: Double
focal_class.var_name: second
focal_class.file: misc/diff/src/main/java/org/openscience/cdk/tools/diff/tree/DoubleDifference.java
focal_class.identifier: DoubleDifference
focal_class.interfaces: implements IDifference
focal_class.class_method_signature: DoubleDifference.DoubleDifference(String name, Double first, Double second)
focal_class.full_signature: private  DoubleDifference(String name, Double first, Double second)
focal_class.identifier: DoubleDifference
focal_class.modifiers: private
focal_class.parameters: (String name, Double first, Double second)
focal_class.signature:  DoubleDifference(String name, Double first, Double second)
focal_class.class_method_signature: DoubleDifference.construct(String name, Double first, Double second)
focal_class.full_signature: public static IDifference construct(String name, Double first, Double second)
focal_class.identifier: construct
focal_class.modifiers: public static
focal_class.parameters: (String name, Double first, Double second)
focal_class.return: IDifference
focal_class.signature: IDifference construct(String name, Double first, Double second)
focal_class.class_method_signature: DoubleDifference.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public static IDifference construct(String name, Double first, Double second) {
          if (first == null && second == null) {
              return null; // no difference
          }
          if (first == null || second == null) {
              return new DoubleDifference(name, first, second);
          }
          if (Math.abs(first - second) < ERROR) {
              return null; // no difference
          }
          return new DoubleDifference(name, first, second);
      }
focal_method.class_method_signature: DoubleDifference.construct(String name, Double first, Double second)
focal_method.full_signature: public static IDifference construct(String name, Double first, Double second)
focal_method.identifier: construct
focal_method.invocations: abs
focal_method.modifiers: public static
focal_method.parameters: (String name, Double first, Double second)
focal_method.return: IDifference
focal_method.signature: IDifference construct(String name, Double first, Double second)