Merge pull request #212 from dritter/unit_testing

Adding Unit Tests, supported  by Travis-CI
This commit is contained in:
Ben Hilburn
2016-02-17 15:39:55 -08:00
12 changed files with 493 additions and 1 deletions
+3
View File
@@ -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