From 1bd643a8bc0b6e8843a0b8e66669f6f2399e3c5f Mon Sep 17 00:00:00 2001
From: Louis Chmielewski <louis.chmielewski@icloud.com>
Date: Sun, 17 Mar 2024 18:01:07 +0100
Subject: [PATCH] est_bloc_non_uniforme class bloc

---
 .DS_Store          | Bin 10244 -> 10244 bytes
 Projet/.DS_Store   | Bin 6148 -> 6148 bytes
 Projet/src/bloc.py |  11 ++++++++++-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/.DS_Store b/.DS_Store
index 2dc38bc9ea0699ac461da6f512e49bea4f489c17..20ed3982cb89f32381cc4851d15b4d3a8c4eefd7 100644
GIT binary patch
delta 147
zcmZn(XbIS$CJ>wG#=yY9!l1{H&XCDalAG`1l9ZF5#K6G7@%8bkX=^SYbwrg<!7E>o
yVHlj8pIg8H0_p{un+4<<l}$7m7#P?X0vL)I@)@!iQc<m8U|?unv-zl?y%+!!dndsF

delta 147
zcmZn(XbIS$CJ-B9z`(%3!l1{H&XCDalAG`1l9ZF5#K6G7vGj|~ghiK+I-<&_;FT}P
yFbq!4&n;j80d<DW%>wd_%Eqz`3=C`x0SrY9`3zYMsi@X4Ff{y~z4@r1y%+#ACngR6

diff --git a/Projet/.DS_Store b/Projet/.DS_Store
index 48290554a1d202cf8e8e386140f934fb5628e033..8958a33e120a1f879db5114abbf82168b4d4fb33 100644
GIT binary patch
delta 22
ecmZoMXffFEj*Uqre)0!4Nv75{o4MJ43IG6Lg9tSM

delta 22
ecmZoMXffFEj*Uq<c=87}Nv1QiH*>T96aWBWWC&gW

diff --git a/Projet/src/bloc.py b/Projet/src/bloc.py
index a00e5b3..09a0742 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())
     
         
     
-- 
GitLab