void function ( ) { String [ ] loc0 = new String [ ] { "srini_string" , "srini_string" , "srini_string" , "srini_string" } ; BigMoney loc1 = MoneyUtils . parse ( "srini_string" ) ; for ( int loc2 = 0 ; loc2 < loc0 . length ; loc2 ++ ) { loc1 = loc1 . multipliedBy ( new BigDecimal ( loc0 [ loc2 ] ) ) ; } assertThat ( loc1 . toString ( ) ) . isEqualTo ( "srini_string" ) ; }
verifies ability to handle simple integer multiplications over several iterations concode_field_sep PlaceHolder placeHolder concode_field_sep void testParseMoney concode_elem_sep void testComplexDivide concode_elem_sep void testSimpleSubtract concode_elem_sep void testComplexSubtract concode_elem_sep void testIncompatibleCurrencies concode_elem_sep void testComparisonOperators concode_elem_sep void testSimpleMultiply concode_elem_sep void testComplexAdd concode_elem_sep void testComplexDivideAndMultiplyBitcoin concode_elem_sep void testComplexDivideAndMultiplySatoshi concode_elem_sep void testConstructors concode_elem_sep void testSimpleAdd concode_elem_sep void testSimpleIntegerDivide concode_elem_sep void testScientificNotation concode_elem_sep void testComplexMultiply concode_elem_sep void testSimpleDivide concode_elem_sep void testComplexIntegerDivideAndMultiply