From 89539c200bf93d53ee9b91b521c09bd4607e01d0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 16 Feb 2022 23:22:36 +0000 Subject: added human formatting for hbar --- test/hbar.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'test') 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 -- cgit v1.2.1