|
|
@ -58,6 +58,8 @@ def equal_binaries(path_original, path):
|
|
|
|
return False
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
binaries = ['Cmap', 'D', 'P', 'V']
|
|
|
|
|
|
|
|
|
|
|
|
def test():
|
|
|
|
def test():
|
|
|
|
os.chdir('../..') #LO COMENTE PARA EVITAR VOLVER A CORRERLO
|
|
|
|
os.chdir('../..') #LO COMENTE PARA EVITAR VOLVER A CORRERLO
|
|
|
|
#config_file = os.path.abspath("./tests/integration/conf_test.ini")
|
|
|
|
#config_file = os.path.abspath("./tests/integration/conf_test.ini")
|
|
|
@ -65,9 +67,10 @@ def test():
|
|
|
|
|
|
|
|
|
|
|
|
#are_equal = are_dir_trees_equal("./tests/integration/tmp_output","./test_loop")
|
|
|
|
#are_equal = are_dir_trees_equal("./tests/integration/tmp_output","./test_loop")
|
|
|
|
|
|
|
|
|
|
|
|
for i in range(90): # HABRIA QUE HACER ESTO PERO PARA TODOS
|
|
|
|
for i in range(90):
|
|
|
|
path = './tests/integration/tmp_output/{}/D.npy'.format(i)
|
|
|
|
for binary in binaries:
|
|
|
|
path_original = './test_loop/{}/D.npy'.format(i)
|
|
|
|
path = './tests/integration/tmp_output/{}/{}.npy'.format(i, binary)
|
|
|
|
|
|
|
|
path_original = './test_loop/{}/{}.npy'.format(i, binary)
|
|
|
|
|
|
|
|
|
|
|
|
if not equal_binaries(path_original, path):
|
|
|
|
if not equal_binaries(path_original, path):
|
|
|
|
print("Failure :( on {}".format(i))
|
|
|
|
print("Failure :( on {}".format(i))
|
|
|
|