garageScript / curriculum

GarageScript Curriculum
21 stars 163 forks source link

js2 - challenge 3.js needs one more test for Nx0 array #376

Open isam007 opened 2 years ago

isam007 commented 2 years ago

Currently this solution to challenge 3 passes all tests and got accepted.

However this type of solution shouldn't work if the row > 0, but col = 0! Yet there is no test case to catch that.

This challenge needs one more test case where row > 0 and col = 0, for example (solution (3, 0)).