XCTAssertEqual is only specialized for one level deep on arrays (SR-2284). The tests might have worked in earlier Swift 3 betas, but not in Xcode 8 beta 6.
So this PR breaks the asserts up and tests each row of the arrayUnderTest and the expectedArray. It's not ideal, but it's explicit and correctly tests the original functionality.
XCTAssertEqual is only specialized for one level deep on arrays (SR-2284). The tests might have worked in earlier Swift 3 betas, but not in Xcode 8 beta 6.
So this PR breaks the asserts up and tests each row of the
arrayUnderTest
and theexpectedArray
. It's not ideal, but it's explicit and correctly tests the original functionality.