add tests

This commit is contained in:
Nathaniel Landau
2021-07-21 07:17:31 -04:00
parent 37f34a4287
commit cda0de5f1d
8 changed files with 1141 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
_inArray_() {
# DESC: Determine if a value is in an array
# ARGS: $1 (Required) - Value to search for
@@ -74,7 +75,7 @@ _removeDupes_() {
# DESC: Removes duplicate array elements.
# ARGS: $1 (Required) - Input array
# OUTS: Prints de-duped elements to standard out
# USAGE: _removeDups_ "${array@]}"
# USAGE: _removeDups_ "${array[@]}"
# NOTE: List order may not stay the same.
# https://github.com/dylanaraps/pure-bash-bible
declare -A tmp_array