Add some tests to pin down the behaviour of BoardList#69
Add some tests to pin down the behaviour of BoardList#69PeterJCLaw wants to merge 2 commits intomasterfrom
Conversation
These currently fail as I'm not sure what the expected behaviours are.
|
The idea of |
|
@RealOrangeOne I think the issue for me is that while it's called a list, and somewhat mostly behaves like a list, we've marked it as a At the moment it's in this odd state where some of the usual operations work while others don't. In particular I spotted that For clarity: I know why these behaviours are happening given the current state of the code, the bit I'm not sure about is what we want the behaviours to be. |
|
The lower 2 examples here are as expected, that functionality is fine. Unfortunately there's no way of changing I believe the issue with the |
|
@RealOrangeOne I disagree -- if this list is going to iterate over the boards it contains, then it should also claim only to contain those items (and not the indexes which point at them). (You're correct about the cause of the |
These currently fail as I'm not sure what the expected behaviours are.