Comment Comment by eithed You'd test those cases. This way, if you'll change your code to be``` public setValue(value) { this.value = value + 5 } ```then your tests will start to fail.Treat tests as a contract. parent eithed 6 years ago
``` public setValue(value) { this.value = value + 5 } ```
then your tests will start to fail.
Treat tests as a contract.