nhu313 bf4d056449 Update 'StringUtilitiesTest.java' | před 6 roky | |
---|---|---|
.gitignore | před 6 roky | |
LoopFun.java | před 6 roky | |
LoopFunTest.java | před 6 roky | |
MathUtilities.java | před 6 roky | |
MathUtilitiesTest.java | před 6 roky | |
README.MD | před 6 roky | |
StringUtilities.java | před 6 roky | |
StringUtilitiesTest.java | před 6 roky | |
package.bluej | před 6 roky |
You have two hours to complete this quiz. Make sure your code compile when you submit the PR!
forked
repository to your local machinegit add .
to add files you want to commitgit commit -m "commit message"
to commit your changesgit push
your staged files to your remote repositorypull request
which compares Zipcoder master
to your master
Make all the tests in the MathUtilitiesTest
class pass. All the methods have been stubbed out for you in the MathUtilities
class. Each of the method has a comment above it to describe the expected behavior. Look at the test case to see example of input and expected output.
int add(int num1, int num2)
double add(double num1, double num2)
double half(int number)
boolean isOdd(int number)
int square(int number)
Make all the tests in the StringUtilitiesTest
class pass. All the methods have been stubbed out for you in the StringUtilities
class. Each of the method has a comment above it to describe the expected behavior. Look at the test case to see example of input and expected output.
Character getMiddleCharacter(String word)
String removeCharacter(String value, char charToRemove)
String getLastWord(String value)
Make all the tests in the LoopFunTest
class pass. All the methods have been stubbed
out for you in the LoopFun
class.
Each of the method has a comment above it to describe the expected behavior.
Look at the test case to see example of input and expected output.
int factorial(int number)
String acronym(String phrase)
String encrypt(String word)