* @throws Exception If failed.
*/
@SuppressWarnings("ZeroLengthArrayAllocation")
public void testCopyWithout() throws Exception {
assertCopy(
new GridLongList(new long[] {}),
new GridLongList(new long[] {}));
assertCopy(
new GridLongList(new long[] {}),
new GridLongList(new long[] {1}));
assertCopy(
new GridLongList(new long[] {1}),
new GridLongList(new long[] {}));
assertCopy(
new GridLongList(new long[] {1, 2, 3}),
new GridLongList(new long[] {4, 5, 6}));
assertCopy(
new GridLongList(new long[] {1, 2, 3}),
new GridLongList(new long[] {1, 2, 3}));
assertCopy(
new GridLongList(new long[] {1, 2, 3, 4, 5, 1}),
new GridLongList(new long[] {1, 1}));
assertCopy(
new GridLongList(new long[] {1, 1, 1, 2, 3, 4, 5, 1, 1, 1}),
new GridLongList(new long[] {1, 1}));
assertCopy(
new GridLongList(new long[] {1, 2, 3}),
new GridLongList(new long[] {1, 1, 2, 2, 3, 3}));
}