essential-scala icon indicating copy to clipboard operation
essential-scala copied to clipboard

fix `directorsAge` bug and request `newer` method

Open russHyde opened this issue 5 years ago • 0 comments

PR just fixes a couple of bugs in the 'Extended body of work' exercise

BUG1: The model solution defined the directorsAge to be yearOfBirth - yearOfRelease; so was negative for all valid director/film pairs

BUG2: The method newer was defined in the model Film object but the reader was not asked to implement this method.

Both bugs are fixed

russHyde avatar Jan 04 '19 15:01 russHyde