Commit 656f3da0 authored by Guillaume CLOCHARD's avatar Guillaume CLOCHARD
Browse files

Suppression ancien tests

parent a33888ed
......@@ -1528,35 +1528,6 @@ def pll(c):
if __name__ == '__main__':
# ---------------- test CROIX
'''
print("Test avec lecture d'entrée")
b,c = lecture_cube('OGRBWYBGBGYYOYOWOWGRYOOOBGBRRYRBWWWRBWYGROWGRYBRGYWBOG')
c0 = c.copy()
print(c)
print()
print("CROSS")
c,mouv = cross_facile(c)
print(c)
print("FIRST TWO LAYERS")
c,mouv2 = ftl(c)
print(c)
print('Nombre de mouvements :', len(mouv+mouv2))
print('Mouvements à effectuer :', mouv+mouv2)
print()
print("Test avec mouvements")
#test OLL
print("Test OLL avant")
print(c)
c, mouv3=oll(c)
print("Test OLL")
print(c)
#test PLL
print("Test PLL")
c, mouv4 = pll(c)
print(c)
mouvements = mouv + mouv2 + mouv3 + mouv4
validiteCfop = "OK" if cfop_valide(c0, mouvements) else "KO"
'''
JEU_TEST = 'tests/samples/liste-sample.json'
import json
......@@ -1617,7 +1588,6 @@ if __name__ == '__main__':
round(moyenne(listeMoyenne[4]), 2),
TermColors.end + '\n'
)
print('\n' + TermColors.bold + 'Ecarts types :' + TermColors.end)
print('☞ Croix :', round(ecart_type(listeMoyenne[0]), 2))
......@@ -1649,4 +1619,4 @@ if __name__ == '__main__':
assert(not err)
err, _ = algo_cfop(c)
print(TermColors.bgGreen + "Insolvable" + TermColors.end, c.to_line())
\ No newline at end of file
print(TermColors.bgGreen + "Insolvable" + TermColors.end, c.to_line())
Markdown is supported
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