From 4eb4194dcb2c9361f42d23628da4fb4c59844ff7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9rald=20NICOLAS?= Date: Wed, 21 Jun 2023 17:25:47 +0200 Subject: [PATCH] =?utf8?q?r=C3=A9f=C3=A9rences=20des=20cas-tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/PythonAddons/Test/TestmidSurface_1.py | 4 ++-- src/PythonAddons/Test/TestmidSurface_2.py | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/PythonAddons/Test/TestmidSurface_1.py b/src/PythonAddons/Test/TestmidSurface_1.py index b121c9ddd..0ed5c0e54 100755 --- a/src/PythonAddons/Test/TestmidSurface_1.py +++ b/src/PythonAddons/Test/TestmidSurface_1.py @@ -43,10 +43,10 @@ aFile = anImportFeature.string(aFieldName) aFile.setValue(theFile) aSession.finishOperation() -#for cle in ("Bodies", "Groups", "Construction", "Folders"): +#for cle in ("Construction", "Bodies", "Groups", "Folders"): #print (cle,":",aPart.size(cle)) -assert(aPart.size("Bodies") == 8), "Right number of construction: {}".format(aPart.size("Bodies")) assert(aPart.size("Construction") == 7), "Right number of construction: {}".format(aPart.size("Construction")) +assert(aPart.size("Bodies") == 8), "Right number of construction: {}".format(aPart.size("Bodies")) assert(aPart.size("Groups") == 2), "Right number of construction: {}".format(aPart.size("Groups")) assert(aPart.size("Folders") == 4), "Wrong number of folders: {}".format(aPart.size("Folders")) diff --git a/src/PythonAddons/Test/TestmidSurface_2.py b/src/PythonAddons/Test/TestmidSurface_2.py index fdc4d72d3..db90421f6 100755 --- a/src/PythonAddons/Test/TestmidSurface_2.py +++ b/src/PythonAddons/Test/TestmidSurface_2.py @@ -43,10 +43,10 @@ aFile = anImportFeature.string(aFieldName) aFile.setValue(theFile) aSession.finishOperation() -#for cle in ("Bodies", "Groups", "Construction", "Folders"): +#for cle in ("Construction", "Bodies", "Groups", "Folders"): #print (cle,":",aPart.size(cle)) -assert(aPart.size("Bodies") == 8), "Right number of construction: {}".format(aPart.size("Bodies")) -assert(aPart.size("Construction") == 7), "Right number of construction: {}".format(aPart.size("Construction")) -assert(aPart.size("Groups") == 2), "Right number of construction: {}".format(aPart.size("Groups")) -assert(aPart.size("Folders") == 4), "Wrong number of folders: {}".format(aPart.size("Folders")) +assert(aPart.size("Construction") == 32), "Right number of construction: {}".format(aPart.size("Construction")) +assert(aPart.size("Bodies") == 24), "Right number of construction: {}".format(aPart.size("Bodies")) +assert(aPart.size("Groups") == 10), "Right number of construction: {}".format(aPart.size("Groups")) +assert(aPart.size("Folders") == 13), "Wrong number of folders: {}".format(aPart.size("Folders")) -- 2.39.2