• First assert.

Question related to mission Wild Dogs

 

This is first assert from the task: assert.equal(wildDogs([[7, 122], [8, 139], [9, 156], [10, 173], [11, 190], [-100, 1]]), 1.13) The line we search in this case is y = 17x + 3, and surely there is shorter distance (i am too lazy atm to compute the shortest one ;d ) between point (0, 0) and f.e. (-3/17, 0) which is on y = 17x + 3 line than 1.13. Am i having some mindfuck or this assert is bad?