Rather than hard-coding specific numerical values, I would just check that the output is the same as when `X` is passed as dense array.