March 2018
Intermediate to advanced
324 pages
8h 30m
English
Just like the specification, the backward movement implementation is just as easy:
public boolean moveBackward() {
return location.backward();
}
The full source code for this requirement can be found in the req02-forward-backward branch of the tdd-java-ch04-ship repository (https://bitbucket.org/vfarcic/tdd-java-ch04-ship/branch/req02-forward-backward).
Read now
Unlock full access