Improve test coverage for Arrays.stream().

For each of the primitive overloads of Arrays.stream() tests
* Expected results when streaming and mapping
* Streaming and collecting with toArray() returns an identical array
* Streaming and collecting to a list results ina list with the same
  values
* Providing start and end indices works as expected

Bug: 151111571
Test: atest CtsLibcoreTestCases:libcore.java.util.ArraysTest
Change-Id: Ifd24588b0b01f823146bef3ee60b2d487aeae070
1 file changed