Open EvitanRelta opened 1 year ago
@EvitanRelta I was about to change it to int
but realized it's meant to be a string that represents a number e.g., "4"
. Otherwise the first partition s is not a valid number
doesn't make sense.
@damithc Hm then I guess the wording could be improved like:
Pre-conditions:
s
represents a positive integer as aString
and under the EP:
[
s
is not a valid integer inString
format ]
On a side note, I'm thinking [ s is not a valid number ]
should be changed to [ s is not a valid integer ]
?
Good point, @EvitanRelta I've added this to the todo list for the next semester's version of the textbook.
The below example in
EP - Basic
should besquareRoot(int s)