From d4b5374ff124be4f558d81a99b7afe384be1c699 Mon Sep 17 00:00:00 2001 From: Muhamed <Muhamedalici@hotmail.de> Date: Fri, 4 Apr 2025 10:53:04 +0200 Subject: [PATCH] Test Wasili --- muhamed_directory/String calculator | 4 ++-- .../TDD_StringCalculator.cpython-311.pyc | Bin 0 -> 7721 bytes muhamed_directory/other/report.md | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 muhamed_directory/other/Wasili/__pycache__/TDD_StringCalculator.cpython-311.pyc diff --git a/muhamed_directory/String calculator b/muhamed_directory/String calculator index afdb3b0..358785b 100644 --- a/muhamed_directory/String calculator +++ b/muhamed_directory/String calculator @@ -9,7 +9,7 @@ import unittest import re from abc import ABC, abstractmethod -from other.Marvin.feature7 import StringCalculator as Marvin +from other.Wasili.TDD_StringCalculator import StringCalculator as Wasili class CalculatorInterface(ABC): @abstractmethod @@ -64,7 +64,7 @@ class StringCalculator(CalculatorInterface): class TestStingCalculator(unittest.TestCase): def setUp(self): - self.calculator = Marvin() + self.calculator = Wasili() def test_empty_string(self): self.assertEqual(self.calculator.add(""), 0) #leerer string + 0 def test_single_number(self): diff --git a/muhamed_directory/other/Wasili/__pycache__/TDD_StringCalculator.cpython-311.pyc b/muhamed_directory/other/Wasili/__pycache__/TDD_StringCalculator.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..58bba7de6e3a0d9f9ac06171a09689a311fc73ae GIT binary patch literal 7721 zcmeHMO>7&-6`uVex#Eu%iLx!aBBfYqY{`@;%A#y1PGVVd;=r-oL{6M2N?Dq_mKpO$ z*<IB#L7{5l0!k2|YA%*r8zpjZ=om$XUV2S{rs$DtEMQ@Q06~ia70`nWxj>*x``(aT z{)m*^T;fBQv)|6oo4+@2-g`6r%;mBZcn*61HSKOC<nNd$J(gl*<8z4IAR-Z&IGMyR z8)p*iB%9zSIfk(06(VxiiO5Ur9gdKD@D`p)o|ajl%qsCUWfodygEB!P?^{cCYN%|I zAU0iLu~cqh2~ak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o-Q$8Nxh-=iycU46tDS z)>+naV4avCuok#}GXav|dzk>q5GIQN$pK6jLEtUp%sQz+CvQ1Vb4+xymH<{Mg1}*A z6YQ+z7?u_R+J6<Q*GI}TIxYNTDiMh#!{HvgA<QOYDy}g6#dR?%(?c|m44}JiH^dA9 z7kD%R_cxR?c-?03*gy^AHihGbf4N?iBS3=}Pl^Em4gkZfcM#^Og=YM%lJ0!Hux{lT z7tC%8EOQSr_ffgX*~!4w+*Zi%J@^o_AC=2qW(FAKN_|{Ds{g?MkQP3wBoP_HI~UXU fIZvMRtnw`jr>~#=`MK-o7U*xCBm6!npgjFAy{u$p literal 0 HcmV?d00001 diff --git a/muhamed_directory/other/report.md b/muhamed_directory/other/report.md index 64584cd..a3eec80 100644 --- a/muhamed_directory/other/report.md +++ b/muhamed_directory/other/report.md @@ -1,6 +1,7 @@ -| Name | Interface break | Failed Testcases | -|---------|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Name | Interface break | Failed Testcases | +|---------|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Alma | 2 | test_add_numbers_greater_than_1000_and_minus (Interface Break: Erwartete Fehlermeldung für negative Zahl in Kombination mit Zahl > 1000 war anders: "invalid literal for int() with base 10: '-3,4'" vs. erwartet 'negatives not allowed: -3'), test_multiple_negative_numbers_exception (Geringfügige Abweichung in der Fehlermeldung: 'Negatives not allowed: -1, -2' vs. erwartet 'negatives not allowed: -1,-2'), test_negative_number_exception (Geringfügige Abweichung in der Fehlermeldung: 'Negatives not allowed: -1' vs. erwartet 'negatives not allowed: -1'), test_add_numbers_with_custom_delimiter (Interface Break: ValueError: invalid literal for int() mit Eingabe '//;\n1,2,3'), test_custom_del (Interface Break: ValueError: invalid literal for int() mit Eingabe '//[+++]\n1+++2+++3'), test_custom_del2 (Interface Break: ValueError: invalid literal for int() mit Eingabe '//[aa]\n1aa2aa3'), test_custom_delimiter (Interface Break: ValueError: invalid literal for int() mit Eingabe '//[***]\n1***2***3') | | Daniel | yes | test_add_numbers_greater_1000_and_minus (Interface Break: ValueError wurde nicht ausgelöst, obwohl eine negative Zahl vorhanden war), test_add_numbers_with_custom_delimiter (Interface Break: ValueError wurde nicht ausgelöst, obwohl eine negative Zahl im benutzerdefinierten Trennzeichen-Szenario vorhanden war), test_multiple_negative_numbers_exception (Interface Break: ValueError wurde nicht ausgelöst, obwohl mehrere negative Zahlen vorhanden waren), test_negative_number_exception (Interface Break: ValueError wurde nicht ausgelöst, obwohl eine negative Zahl vorhanden war) | | Hatice | 2 | test_add_numbers_greater_than_1000_and_minus (Interface Break: Erwartete Fehlermeldung für negative Zahl in Kombination mit Zahl > 1000 war anders: "invalid literal for int() with base 10: '-3,4'" vs. erwartet 'negatives not allowed: -3'), test_multiple_negative_numbers_exception (Geringfügige Abweichung in der Fehlermeldung: 'Negatives not allowed: -1, -2' vs. erwartet 'negatives not allowed: -1,-2'), test_negative_number_exception (Geringfügige Abweichung in der Fehlermeldung: 'Negatives not allowed: -1' vs. erwartet 'negatives not allowed: -1'), test_add_numbers_with_custom_delimiter (Interface Break: ValueError: invalid literal for int() mit Eingabe '//;\n1,2,3'), test_custom_del (Interface Break: ValueError: invalid literal for int() mit Eingabe '//[+++]\n1+++2+++3'), test_custom_del2 (Interface Break: ValueError: invalid literal for int() mit Eingabe '//[aa]\n1aa2aa3'), test_custom_delimiter (Interface Break: ValueError: invalid literal for int() mit Eingabe '//[***]\n1***2***3') | -| Marvin | yes | test_add_numbers_greater_1000_and_minus (Interface Break: Fehlermeldung für negative Zahl war anders: 'Negative numbers are not allowed: -3' vs. erwartet 'negatives not allowed: -3'), test_add_numbers_with_custom_delimiter (Interface Break: Fehlermeldung für negative Zahl war anders: 'Negative numbers are not allowed: -3' vs. erwartet 'negatives not allowed: -3'), test_multiple_negative_numbers_exception (Interface Break: Fehlermeldung für negative Zahl war anders: 'Negative numbers are not allowed: -1, -2' vs. erwartet 'negatives not allowed: -1,-2'), test_negative_number_exception (Interface Break: Fehlermeldung für negative Zahl war anders: 'Negative numbers are not allowed: -1' vs. erwartet 'negatives not allowed: -1') | \ No newline at end of file +| Marvin | yes | test_add_numbers_greater_1000_and_minus (Interface Break: Fehlermeldung für negative Zahl war anders: 'Negative numbers are not allowed: -3' vs. erwartet 'negatives not allowed: -3'), test_add_numbers_with_custom_delimiter (Interface Break: Fehlermeldung für negative Zahl war anders: 'Negative numbers are not allowed: -3' vs. erwartet 'negatives not allowed: -3'), test_multiple_negative_numbers_exception (Interface Break: Fehlermeldung für negative Zahl war anders: 'Negative numbers are not allowed: -1, -2' vs. erwartet 'negatives not allowed: -1,-2'), test_negative_number_exception (Interface Break: Fehlermeldung für negative Zahl war anders: 'Negative numbers are not allowed: -1' vs. erwartet 'negatives not allowed: -1') | +| Wasili | no | none \ No newline at end of file -- GitLab