Skip to content
Snippets Groups Projects
Commit a43643b0 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Merge branch 'develop' of gitlab.c3sl.ufpr.br:vsbc14/enchente into develop

 Conflicts:
	tests/runTests.sh
parents bc871090 8722e9ef
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -87,6 +87,7 @@ do ...@@ -87,6 +87,7 @@ do
echo -ne "${RED}Nossa resposta para ${i} ${i} ${cor} ${semente} não é válida!!!${NC}\n\n" echo -ne "${RED}Nossa resposta para ${i} ${i} ${cor} ${semente} não é válida!!!${NC}\n\n"
fi fi
VIT=$(($VIT + 1)) VIT=$(($VIT + 1))
fi fi
# tempo em segundos # tempo em segundos
S=$(($T_gasto/1000000000)) S=$(($T_gasto/1000000000))
...@@ -104,6 +105,7 @@ do ...@@ -104,6 +105,7 @@ do
echo -ne "Tabuleiro ${i}x${i} com ${cor} cores: (${j}/${N_TESTES}) (T max: $(($T_max_cor/1000000000))." echo -ne "Tabuleiro ${i}x${i} com ${cor} cores: (${j}/${N_TESTES}) (T max: $(($T_max_cor/1000000000))."
printf "%03d" $(($T_max_cor/1000000%1000)) printf "%03d" $(($T_max_cor/1000000%1000))
echo -ne ") (${GREEN}${VIT}${NC}/${BLUE}${EMP}${NC}/${RED}${DER}${NC})"\\r echo -ne ") (${GREEN}${VIT}${NC}/${BLUE}${EMP}${NC}/${RED}${DER}${NC})"\\r
done done
T_medio_cor=$(($T_soma_cor/${N_TESTES})) T_medio_cor=$(($T_soma_cor/${N_TESTES}))
S_medio_cor=$(($T_medio_cor/1000000000)) S_medio_cor=$(($T_medio_cor/1000000000))
...@@ -130,3 +132,4 @@ if [ ${fs} -gt "1" ]; then ...@@ -130,3 +132,4 @@ if [ ${fs} -gt "1" ]; then
else else
echo -e "${GREEN}Nenhum tabuleiro perdeu para as outras heurísticas${NC}" echo -e "${GREEN}Nenhum tabuleiro perdeu para as outras heurísticas${NC}"
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment