Added a cyan color to a test input.
This commit is contained in:
parent
5f802d2084
commit
49c2cf90d4
2
Makefile
2
Makefile
@ -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"; }
|
Loading…
Reference in New Issue
Block a user