A unit test should never be testing two functions at the same time.  Leave these split apart.

There's also a fairly good reason for this being written as an unrolled loop.  The way you've coded it, you'll have no idea what the value was that failed.  The way I coded it, you'll see exactly the line that failed.