I have a question where I ask to write a Vector2D class with a method to multiply a vector by a scalar.
In the test, there're two test cases :
When I test this question, I put a code which doesn't contain the multScalaire method but the constructor and the method are OK (see below)
Why the first test is false? It should be OK because only the multScalaire method is missing, all the other code is OK.