For the predicate class, the comparison returns a boolean, so you don't need the if clause.
public Boolean isLessThan(int x, int y) {
return x < y;
}
Your middleCharacter test should not pass all test. Please fix it and send me a message when you're done.
You don't have to store the result in a variable then return it. You can return the result in one line.
```
public Float add(float baseValue, float difference) {
return baseValue + difference;
}
```
For the predicate class, the comparison returns a boolean, so you don't need the if clause.
```
public Boolean isLessThan(int x, int y) {
return x < y;
}
```
Your middleCharacter test should not pass all test. Please fix it and send me a message when you're done.
You don't have to store the result in a variable then return it. You can return the result in one line.
For the predicate class, the comparison returns a boolean, so you don't need the if clause.
Your middleCharacter test should not pass all test. Please fix it and send me a message when you're done.