Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 616 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 616 Bytes

UnitTesting

Maven Project with Utility Methods

This Maven project contains utility methods for basic arithmetic operations and string manipulation. The methods include:

  1. sum: Adds two integers.
  2. divide: Divides two doubles and returns the result with two decimal places.
  3. returnTwoChars: Returns the first two characters from a string.
  4. div: Divides two Double objects and returns a Double result.

How to Use

  1. Clone the repository.
  2. Open the project in your preferred IDE.
  3. Run the JUnit tests in the AppTest.java file to verify the functionality of the implemented methods.