Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soitool
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
bachelor-paa-bittet
soitool
Merge requests
!90
#155 SOI moduler paddes for å ikke overlappe ramme
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
#155 SOI moduler paddes for å ikke overlappe ramme
fikse-moduler-legges-oppå-linjer
into
master
Overview
1
Commits
3
Pipelines
3
Changes
2
Merged
Thomas Holene Løkkeborg
requested to merge
fikse-moduler-legges-oppå-linjer
into
master
4 years ago
Overview
1
Commits
3
Pipelines
3
Changes
1
Expand
padding kan settes til hva som helst
docstring oppdatert
Edited
4 years ago
by
Thomas Holene Løkkeborg
2
0
Merge request reports
Viewing commit
8c8d7bc4
Prev
Next
Show latest version
1 file
+
5
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
8c8d7bc4
#155 oppdater SOI test til å respektere ny padding
· 8c8d7bc4
Thomas Holene Løkkeborg
authored
4 years ago
test/test_soi.py
+
5
−
1
Options
@@ -315,9 +315,13 @@ class TestSOI(unittest.TestCase):
page_2_module
[
"
meta
"
][
"
x
"
]
+
self
.
soi
.
PADDING
+
self
.
soi
.
HEADER_WIDTH
+
self
.
soi
.
INNER_PADDING
)
expected_y
=
(
page_2_module
[
"
meta
"
][
"
y
"
]
+
self
.
soi
.
PADDING
*
2
+
self
.
soi
.
HEIGHT
page_2_module
[
"
meta
"
][
"
y
"
]
+
self
.
soi
.
PADDING
*
2
+
self
.
soi
.
HEIGHT
+
self
.
soi
.
INNER_PADDING
)
self
.
assertEqual
(
Loading