budaidev commented on code in PR #5730:
URL: https://github.com/apache/fineract/pull/5730#discussion_r3026198621


##########
fineract-core/src/test/java/org/apache/fineract/organisation/monetary/domain/MoneyTest.java:
##########
@@ -109,4 +121,379 @@ void testAddMoney() {
         Money result = tenDollars.add(oneDollar, MATH_CONTEXT);
         assertEquals(0, result.getAmount().compareTo(new BigDecimal("11.00")), 
"Should correctly add two Money amounts");
     }
+
+    @ParameterizedTest(name = "plus(double {0}) = {1}")
+    @CsvSource({ "0.0,   10.00", "1.0,   11.00", "0.01,  10.01", "5.5,   
15.50", "10.0,  20.00", "0.99,  10.99", "100.0, 110.00",

Review Comment:
   Can we do some kind of formatting here, which does it in pairs?
   Something like:
   ```
    // @formatter:off                                                           
                                                                                
                                                     
     @CsvSource({                                                               
                                                                                
                                                      
         "0.0,   10.00",                                                        
                                                                                
                                                                                
                                                                                
                                                                            
         "0.01,  10.01",                                                        
                                                                                
                                                      
         ...     
     })                                                                         
                                                                                
                                                      
     // @formatter:on  
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to