Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Praxisprojekt Technologiebasierte Innovationen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Rafeh
Praxisprojekt Technologiebasierte Innovationen
Commits
e15affd3
Commit
e15affd3
authored
3 months ago
by
Daniel Rafeh
Browse files
Options
Downloads
Patches
Plain Diff
All Tests were successful
parent
820d2d30
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Project_tests/converter.py
+4
-2
4 additions, 2 deletions
Project_tests/converter.py
with
4 additions
and
2 deletions
Project_tests/converter.py
+
4
−
2
View file @
e15affd3
...
...
@@ -34,6 +34,8 @@ from abc import ABC, abstractmethod
#from other.YildirimHatice.converter import RomanNumber as HaticeCalc
#from other.WeishauptOrlando.RomanConverter import RomanConverter_v1 as OrlandoCalc
#TESTCASES OF OTHER STUDENTS
from
other.AliciMuhamed.Test_Converter_Römische_Zahlen
import
TestRomanConverter
as
MomoTest
class
IConverter
(
ABC
):
@abstractmethod
...
...
@@ -74,7 +76,7 @@ class DanisConverter(IConverter):
return
"
Bitte ganze Zahlen eingeben
"
class
TestConverter
(
unittest
.
TestCase
):
"""
class TestConverter(unittest.TestCase):
def setUp(self):
self.c = DanisConverter()
...
...
@@ -181,7 +183,7 @@ class TestConverter(unittest.TestCase):
def test_convertEmpty(self):
res = self.c.convert(
''
)
self
.
assertEqual
(
res
,
"
Bitte ganze Zahlen eingeben
"
)
self.assertEqual(res,
"
Bitte ganze Zahlen eingeben
"
)
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment