summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-16 23:22:36 +0000
committerdavidovski <david@davidovski.xyz>2022-02-16 23:22:36 +0000
commit89539c200bf93d53ee9b91b521c09bd4607e01d0 (patch)
tree106981fdbe61c423fafe2d12a74e1b6610601c6a /test
parente197b62585b15fbe89261922d288bbb901cd0e33 (diff)
added human formatting for hbar
Diffstat (limited to 'test')
-rwxr-xr-xtest/hbar.sh16
1 files changed, 12 insertions, 4 deletions
diff --git a/test/hbar.sh b/test/hbar.sh
index 80f6a9c..e7f43ef 100755
--- a/test/hbar.sh
+++ b/test/hbar.sh
@@ -13,9 +13,17 @@ ${HBAR} -t -T "${TEXT}" -u ${UNIT} $x $MAX
hbar
for x in $(seq $MAX); do
- ${HBAR} -l 0 -T "${TEXT}" -u ${UNIT} $((MAX - x)) $MAX
- ${HBAR} -l 1 -T "${TEXT}" -u ${UNIT} $x $MAX
+ ${HBAR} -l 0 -T "${TEXT}" $((MAX - x)) $MAX
+ ${HBAR} -l 1 -T "${TEXT}" $x $MAX
sleep 0.01
done
-${HBAR} -l 0 -t -T "${TEXT}" -u ${UNIT} $((MAX-x)) $MAX
-${HBAR} -l 1 -t -T "${TEXT}" -u ${UNIT} $x $MAX
+${HBAR} -l 1 -T "${TEXT}" $x $MAX
+${HBAR} -l 0 -t -T "${TEXT}" $((MAX-x)) $MAX
+
+MAX=20000000
+
+for x in $(seq 0 991 $MAX); do
+ ${HBAR} -h -T "${TEXT}" $x $MAX
+ sleep 0.01
+done
+${HBAR} -ht -T "${TEXT}" $x $MAX