Skip to content
Snippets Groups Projects
Commit 152d9454 authored by Mickael Da Silva's avatar Mickael Da Silva
Browse files

Script pour tous les types de jeu de test

parent 75c9c408
Branches
No related merge requests found
......@@ -7,7 +7,7 @@ do
size=$(( `od -An -N4 -tu < /dev/urandom` % 100000))
max=$(( `od -An -N4 -tu < /dev/urandom` % 100000))
for tab in "g" "gt" "gti"
for tab in "g" "gt" "gti" "gtp"
do
../tri -$tab $max $size 1 > ../tabs/perf_tab.txt
......@@ -20,6 +20,9 @@ do
elif [ $tab = "gti" ]
then
sort="Trie_inverse"
elif [ $tab = "gtp" ]
then
sort="Trie_partiel"
fi
for tri in "insertion" "fusion" "rapide" "bulle"
......
......@@ -20,6 +20,9 @@ do
elif [ $tab = "gti" ]
then
sort="Trie_inverse"
elif [ $tab = "gtp" ]
then
sort="Trie_partiel"
fi
for tri in "insertion" "fusion" "rapide" "bulle"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment