Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff tests/farray-array.t @ 747:6787e216285e
farray.sh: Implement the first simple sorting algorithm using Gnome Sort
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 09 Oct 2024 22:29:46 +0200 |
| parents | 5ba94d373199 |
| children | e8eb5e7ceb37 |
line wrap: on
line diff
--- a/tests/farray-array.t Tue Oct 08 18:11:24 2024 +0200 +++ b/tests/farray-array.t Wed Oct 09 22:29:46 2024 +0200 @@ -1250,6 +1250,22 @@ $ check_no_array_artifacts +Sort +==== + + $ farray_create TEST 5 3 2 4 + $ farray_sort TEST + $ farray_debug TEST + DEBUG: array `TEST' has length 4 + DEBUG: the items: + DEBUG: 1: `2' + DEBUG: 2: `3' + DEBUG: 3: `4' + DEBUG: 4: `5' + $ farray_release TEST + $ check_no_array_artifacts + + Generic Destruction ===================
