Added plugins and build tools

This commit is contained in:
noccy committed 2021-12-09 00:58:28 +01:00
1 parent a0d68a606c
commit eefe53a438
46 files changed
+4049 -1

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
testEcho() {
assertEqual "$(echo foo)" "foo"
assertReturn "$(echo foo)" 0
}
testTest() {
assert "-e $0"
}
testArithmetic() {
assertGreaterThan "$(( 1 + 1 ))" "1"
assertAtLeast "$(( 1 + 1 ))" "2"
assertLessThan "$(( 1 + 1 ))" "5"
assertAtMost "$(( 1 + 1 ))" "2"
}
source $(dirname $0)/bashunit.bash