Merge pull request #212 from dritter/unit_testing
Adding Unit Tests, supported by Travis-CI
This commit is contained in:
commit
64d81a2b36
12 changed files with 493 additions and 1 deletions
|
@ -27,6 +27,9 @@ function set_default() {
|
|||
}
|
||||
|
||||
# Converts large memory values into a human-readable unit (e.g., bytes --> GB)
|
||||
# Takes two arguments:
|
||||
# * $size - The number which should be prettified
|
||||
# * $base - The base of the number (default Bytes)
|
||||
printSizeHumanReadable() {
|
||||
typeset -F 2 size
|
||||
size="$1"+0.00001
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue