Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 746:7e2279d6db0f | 747:6787e216285e |
|---|---|
| 1248 DEBUG: 8: `s4' | 1248 DEBUG: 8: `s4' |
| 1249 $ farray_release MERGED | 1249 $ farray_release MERGED |
| 1250 $ check_no_array_artifacts | 1250 $ check_no_array_artifacts |
| 1251 | 1251 |
| 1252 | 1252 |
| 1253 Sort | |
| 1254 ==== | |
| 1255 | |
| 1256 $ farray_create TEST 5 3 2 4 | |
| 1257 $ farray_sort TEST | |
| 1258 $ farray_debug TEST | |
| 1259 DEBUG: array `TEST' has length 4 | |
| 1260 DEBUG: the items: | |
| 1261 DEBUG: 1: `2' | |
| 1262 DEBUG: 2: `3' | |
| 1263 DEBUG: 3: `4' | |
| 1264 DEBUG: 4: `5' | |
| 1265 $ farray_release TEST | |
| 1266 $ check_no_array_artifacts | |
| 1267 | |
| 1268 | |
| 1253 Generic Destruction | 1269 Generic Destruction |
| 1254 =================== | 1270 =================== |
| 1255 | 1271 |
| 1256 $ farray_create TEST i1 i2 | 1272 $ farray_create TEST i1 i2 |
| 1257 $ farray_debug TEST | 1273 $ farray_debug TEST |
