diff --git a/.DS_Store b/.DS_Store index 2dc38bc9ea0699ac461da6f512e49bea4f489c17..20ed3982cb89f32381cc4851d15b4d3a8c4eefd7 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Projet/.DS_Store b/Projet/.DS_Store index 48290554a1d202cf8e8e386140f934fb5628e033..8958a33e120a1f879db5114abbf82168b4d4fb33 100644 Binary files a/Projet/.DS_Store and b/Projet/.DS_Store differ diff --git a/Projet/src/bloc.py b/Projet/src/bloc.py index a00e5b309559fb04b316abf67e42279745ef95c6..09a0742c0753d7a57f8b2f3cbc9f1bd5b4be0ac3 100755 --- a/Projet/src/bloc.py +++ b/Projet/src/bloc.py @@ -47,7 +47,16 @@ class Bloc: return pixel_hl == pixel_lr - + def est_bloc_non_uniforme(): + """ + Renvoie True si le bloc n'est pas uniforme, c'est à dire + si il peut être divisé en 4 blocs + Précondition : aucune + Exemple(s) : + $$$ + + """ + return not(est_bloc_uniforme())