you could also add (to better check the truncation):

```python
assert_equal(mean_ndcg_score([2, 3, 5], [0, 1, 0], k=2), 1.0)
```