Fixing a silly mistake where starboard side rounding checks for a port side rounding (Thank goodness for documenting manual tests)
#story[1101]
This commit is contained in:
@@ -263,7 +263,7 @@ public class MockBoat extends Boat {
|
||||
*/
|
||||
public boolean isBetweenGate(CompoundMark gate){
|
||||
if ((this.isPortSide(gate.getMark1()) && this.isStarboardSide(gate.getMark2())) ||
|
||||
(this.isStarboardSide(gate.getMark2()) && this.isPortSide(gate.getMark1()))){
|
||||
(this.isStarboardSide(gate.getMark1()) && this.isPortSide(gate.getMark2()))){
|
||||
return true;
|
||||
}else{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user