|
|
|
|
|
|
50
|
|
50
|
|
|
51
|
## Predicate Utilities
|
51
|
## Predicate Utilities
|
|
52
|
* A _predicate_ is a clause which states something about a subject. (_e.g., **is assigning**_ in _"Leon **is assigning** homework"_)
|
52
|
* A _predicate_ is a clause which states something about a subject. (_e.g., **is assigning**_ in _"Leon **is assigning** homework"_)
|
|
53
|
-* Ensure each of the test cases passes successfully in the class [TestPredicateUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestPredicateUtilities.java) by completing each of the method stubs in the class [PredicateUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/PredicateUtilities.java).
|
|
|
|
|
|
53
|
+* Ensure each of the test cases passes successfully in the class [TestPredicateUtilities](./Method\ Fundamentals/TestPredicateUtilities.java) by completing each of the method stubs in the class [PredicateUtilities](../Method\ Fundamentals/PredicateUtilities.java).
|
|
54
|
* Method Stubs to be completed
|
54
|
* Method Stubs to be completed
|
|
55
|
* `boolean isGreaterThan(int x, int y)`
|
55
|
* `boolean isGreaterThan(int x, int y)`
|
|
56
|
* `boolean isLessThan(int x, int y)`
|
56
|
* `boolean isLessThan(int x, int y)`
|
|
|
|
|
|
|
59
|
|
59
|
|
|
60
|
|
60
|
|
|
61
|
## Math Utilities
|
61
|
## Math Utilities
|
|
62
|
-* Ensure each of the test cases passes successfully in the class [TestMathUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestMathUtilities.java) by completing each of the method stubs in the class [MathUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/MathUtilities.java).
|
|
|
|
|
|
62
|
+* Ensure each of the test cases passes successfully in the class [TestMathUtilities](./Method\ Fundamentals/TestMathUtilities.java) by completing each of the method stubs in the class [MathUtilities](./Method\ Fundamentals/MathUtilities.java).
|
|
63
|
* Method Stubs to be completed
|
63
|
* Method Stubs to be completed
|
|
64
|
* `Integer add(int, int)`
|
64
|
* `Integer add(int, int)`
|
|
65
|
* `Long add(long, long)`
|
65
|
* `Long add(long, long)`
|
|
|
|
|
|
|
90
|
|
90
|
|
|
91
|
|
91
|
|
|
92
|
## String Utilities
|
92
|
## String Utilities
|
|
93
|
-* Ensure each of the test cases passes successfully in the class [TestStringUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestStringUtilities.java) by completing each of the method stubs in the class [StringUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/StringUtilities.java).
|
|
|
|
|
|
93
|
+* Ensure each of the test cases passes successfully in the class [TestStringUtilities](./Method\ Fundamentals/TestStringUtilities.java) by completing each of the method stubs in the class [StringUtilities](./Method\ FundaMentals/StringUtilities.java).
|
|
94
|
* Method Stubs to be completed
|
94
|
* Method Stubs to be completed
|
|
95
|
* `String concatenation(String, String)`
|
95
|
* `String concatenation(String, String)`
|
|
96
|
* `String concatenation(int, String)`
|
96
|
* `String concatenation(int, String)`
|
|
|
|
|
|
|
102
|
* `String getSecondWord(String)`
|
102
|
* `String getSecondWord(String)`
|
|
103
|
* `String reverse(String)`
|
103
|
* `String reverse(String)`
|
|
104
|
|
104
|
|
|
105
|
-
|
|
|
|
106
|
-## Whats next?
|
|
|
|
107
|
-* The next lab can be found [here](https://github.com/Zipcoder/ZCW-MicroLabs-OOP-AliceAndBob).
|
|
|
|
|
|
105
|
+
|