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:
hba56
2017-08-12 23:40:28 +12:00
parent a05ffd023d
commit f90648e4ce
@@ -263,7 +263,7 @@ public class MockBoat extends Boat {
*/ */
public boolean isBetweenGate(CompoundMark gate){ public boolean isBetweenGate(CompoundMark gate){
if ((this.isPortSide(gate.getMark1()) && this.isStarboardSide(gate.getMark2())) || 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; return true;
}else{ }else{
return false; return false;