Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
zesje
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Service Desk
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
Works on my machine
zesje
Commits
0aebe09f
Commit
0aebe09f
authored
6 years ago
by
Nick Cleintuar
Browse files
Options
Downloads
Patches
Plain Diff
Moved tests to different folder
parent
e6bd085b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/helpers/test_image_helper.py
+0
-0
0 additions, 0 deletions
tests/helpers/test_image_helper.py
tests/helpers/test_rotation_scan.py
+1
-4
1 addition, 4 deletions
tests/helpers/test_rotation_scan.py
with
1 addition
and
4 deletions
tests/helpers/test_image_helper.py
deleted
100644 → 0
+
0
−
0
View file @
e6bd085b
This diff is collapsed.
Click to expand it.
tests/test_rotation_scan.py
→
tests/
helpers/
test_rotation_scan.py
+
1
−
4
View file @
0aebe09f
import
pytest
import
cv2
import
math
from
zesje.helpers
import
image_helper
from
zesje.helpers
import
image_helper
,
pdf_helper
@pytest.mark.parametrize
(
"
test_input1, test_input2, expected
"
,
[
(
cv2
.
KeyPoint
(
0
,
100
,
0
),
cv2
.
KeyPoint
(
0
,
1000
,
0
),
0
),
...
...
@@ -10,6 +10,3 @@ from zesje.helpers import image_helper
])
def
test_calc_angle
(
test_input1
,
test_input2
,
expected
):
assert
math
.
isclose
(
image_helper
.
calc_angle
(
test_input1
,
test_input2
),
expected
,
abs_tol
=
0.1
)
def
test_yolo
():
assert
1
==
1
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