I have a class `Board` with this function: ``` ...
# getting-started
b
I have a class
Board
with this function:
Copy code
infix fun equals(other: Board) : Boolean {
        return this.toState() == other.toState()
    }
Which lets me write tests like
Copy code
assertTrue(board equals Board(board.toState()) )
But I can’t get this to pass
Copy code
assertThat(board, equalTo(Board(board.toState())))
nor this:
Copy code
assertTrue(board == Board(board.toState()) )