test_class.file: trading-common/src/test/java/fr/ymanvieu/trading/common/util/MathUtilsTest.java
test_class.identifier: MathUtilsTest
test_case.body: @Test
  	public void testPercentChange() {
  		assertThat(MathUtils.percentChange(new BigDecimal("100"), new BigDecimal("110"))).isEqualTo(10f);
  	}
test_case.class_method_signature: MathUtilsTest.testPercentChange()
test_case.full_signature: @Test public void testPercentChange()
test_case.identifier: testPercentChange
test_case.invocations: isEqualTo assertThat percentChange
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPercentChange()
focal_class.declarator: HUNDRED = new BigDecimal("100")
focal_class.modifier: private static final
focal_class.original_string: private static final BigDecimal HUNDRED = new BigDecimal("100");
focal_class.type: BigDecimal
focal_class.var_name: HUNDRED
focal_class.declarator: SCALE = 10
focal_class.modifier: private static final
focal_class.original_string: private static final int SCALE = 10;
focal_class.type: int
focal_class.var_name: SCALE
focal_class.file: trading-common/src/main/java/fr/ymanvieu/trading/common/util/MathUtils.java
focal_class.identifier: MathUtils
focal_class.class_method_signature: MathUtils.divide(BigDecimal dividend, BigDecimal divisor)
focal_class.full_signature: public static BigDecimal divide(BigDecimal dividend, BigDecimal divisor)
focal_class.identifier: divide
focal_class.modifiers: public static
focal_class.parameters: (BigDecimal dividend, BigDecimal divisor)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal divide(BigDecimal dividend, BigDecimal divisor)
focal_class.class_method_signature: MathUtils.invert(BigDecimal d)
focal_class.full_signature: public static BigDecimal invert(BigDecimal d)
focal_class.identifier: invert
focal_class.modifiers: public static
focal_class.parameters: (BigDecimal d)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal invert(BigDecimal d)
focal_class.class_method_signature: MathUtils.percentChange(BigDecimal oldValue, BigDecimal newValue)
focal_class.full_signature: public static double percentChange(BigDecimal oldValue, BigDecimal newValue)
focal_class.identifier: percentChange
focal_class.modifiers: public static
focal_class.parameters: (BigDecimal oldValue, BigDecimal newValue)
focal_class.return: double
focal_class.signature: double percentChange(BigDecimal oldValue, BigDecimal newValue)
focal_class.class_method_signature: MathUtils.equalsByComparingTo(BigDecimal bd1, BigDecimal bd2)
focal_class.full_signature: public static boolean equalsByComparingTo(BigDecimal bd1, BigDecimal bd2)
focal_class.identifier: equalsByComparingTo
focal_class.modifiers: public static
focal_class.parameters: (BigDecimal bd1, BigDecimal bd2)
focal_class.return: boolean
focal_class.signature: boolean equalsByComparingTo(BigDecimal bd1, BigDecimal bd2)
focal_method.body: public static double percentChange(BigDecimal oldValue, BigDecimal newValue) {
  		return divide(newValue.subtract(oldValue), oldValue).multiply(HUNDRED).doubleValue();
  	}
focal_method.class_method_signature: MathUtils.percentChange(BigDecimal oldValue, BigDecimal newValue)
focal_method.full_signature: public static double percentChange(BigDecimal oldValue, BigDecimal newValue)
focal_method.identifier: percentChange
focal_method.invocations: doubleValue multiply divide subtract
focal_method.modifiers: public static
focal_method.parameters: (BigDecimal oldValue, BigDecimal newValue)
focal_method.return: double
focal_method.signature: double percentChange(BigDecimal oldValue, BigDecimal newValue)