I'm failing extra test 2. I expected to see an image showing the expected result or the result I'm producing, but there isn't any.
Secondly, my results initially showed there was a draw, i.e., no majority of A districts, so I returned []. When that failed, I thought maybe you wanted draws returned, so I tried that. The test still failed.
So my questions are:
- Should I expect to see a grid (image) when the test fails?
- Should I only give a result if A clearly wins (i.e., return [] if there is a draw between winning A and B districts)?
- Should this test produce winning A districts?
Image of test results attached.
Created at: 2020/01/04 18:31; Updated at: 2020/01/05 10:23
The question is resolved.