std.array_list: promote tests to doctests

This moves most tests from ArrayList and ArrayListUnmanaged into the
corresponding namespace and provides a doctest for nearly every method.
a8e2a21a86Andrew Kelley committed on 3/13/2024, 10:56:52 PMparente5a95c6
1 file changedLine totals unavailable