[General boards] [Winter 2019 courses] [Fall 2018 courses] [Summer 2018 courses] [Older or newer terms]

getLength() of seaweed


#1

Should the public method getLength() of Seaweed return its original length or current length? Thanks!


#2

Seaweed#getLength() should return the current length (and should always be at least 1)