- To complete the method stubs in each of the provided classes
MathUtilitiesPredicateUtilitiesStringUtilities
- To establish familiarity with
MathUtilitiesPredicateUtilitiesStringUtilities
- Clone this Repository
- Clone repository to your local machine.
- On your local machine, create a new branch.
- Where you see
<feature_branch>replace that with your first name plus the first letter of your last name. So if your name is Thaneshwara you would create a new branch by using this command:git branch thaneshwaraM - Complete steps 2 and 3
git addyour changes to the list of yourcommitedfiles.git commityour added files to the list of yourstagedfiles.git pushyour staged files to your remote repository.- submit a
pull requestwhich comparesmasterto your branch<name_of_your_branch>.
- Begin by first ensuring the
mainmethod in yourTechConnectRocksclass prints"TechConnect Rocks!"upon execution. - Complete each of the method stubs in each of the
mainclasses provided.mainclasses are located insrc.main.com.jpmc.techconnect.basic_drills- There are comments above each method stub to describe the expected behavior.
- Upon completion, open and run the
TestSuiteclass to ensure that all tests have 100% success.TestSuiteis located insrc.test.com.jpmc.techconnect.basic_drills
- A predicate is a clause which states something about a subject. (e.g., is assigning in "Thaneshwara is assigning homework")
- Ensure each of the test cases passes successfully in the class TestPredicateUtilities by completing each of the method stubs in the class PredicateUtilities.
- Method Stubs to be completed
boolean isGreaterThan(int x, int y)boolean isLessThan(int x, int y)boolean isGreaterThanOrEqualTo(int x, int y)boolean isLessThanOrEqualTo(int x, int y)
- Ensure each of the test cases passes successfully in the class TestMathUtilities by completing each of the method stubs in the class MathUtilities.
- Method Stubs to be completed
Integer add(int, int)Long add(long, long)Short add(short, short)Byte add(byte, byte)Float add(float, float)Double add(double, double)Integer subtract(int, int)Long subtract(long, long)Short subtract(short, short)Byte subtract(byte, byte)Float subtract(float, float)Double subtract(double, double)Integer divide(int, int)Long divide(long, long)Short divide(short, short)Byte divide(byte, byte)Float divide(float, float)Double divide(double, double)Integer multiply(int, int)Long multiply(long, long)Short multiply(short, short)Byte multiply(byte, byte)Float multiply(float, float)Double multiply(double, double)Boolean returnTrueBoolean returnFalse
- Ensure each of the test cases passes successfully in the class TestStringUtilities by completing each of the method stubs in the class StringUtilities.
- Method Stubs to be completed
String concatenation(String, String)String concatenation(int, String)String getPrefix(String)String getSuffix(String)Boolean compareTwoStrings(String)Character getMiddleCharacter(String)String getFirstWord(String)String getSecondWord(String)String reverse(String)