Added a cyan color to a test input.

This commit is contained in:
Alexander Andreev 2024-05-19 23:22:26 +04:00
parent 5f802d2084
commit 49c2cf90d4
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -25,5 +25,5 @@ uninstall:
rmdir ${DESTDIR}${PREFIX}/share/licenses/${TARGET}
test: | ${TARGET}
@echo -n "Does input \"3.68 120 30d\" gives 317.95? "
@echo -en "Does input \e[36m\"3.68 120 30d\"\e[0m gives 317.95? "
@test "${shell ./kwh-cost 3.68 120 30d}" = "317.95" && { echo -e "\e[32mYES\e[0m"; } || { echo -e "\e[31mNO\e[0m"; }