Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scikit-surgerycore
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WEISS
Software Repositories
SNAPPY
scikit-surgerycore
Commits
91c7df06
Commit
91c7df06
authored
May 02, 2019
by
Mian Asbat ahmad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#16
: rounding value error corrected in test case
parent
8ed84472
Pipeline
#2155
canceled with stages
in 4 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
tests/algorithms/test_pivot.py
tests/algorithms/test_pivot.py
+6
-6
No files found.
tests/algorithms/test_pivot.py
View file @
91c7df06
...
...
@@ -45,12 +45,12 @@ def test_return_value():
matrices4x4
=
matrices
.
reshape
(
numberOf4x4Matrices
,
4
,
4
)
x_values
,
residual_error
=
p
.
pivot_calibration
(
matrices4x4
)
assert
1.838
==
round
(
residual_error
,
3
)
assert
-
14.476
==
round
(
x_values
[
0
,
0
])
assert
395.143
==
round
(
x_values
[
1
,
0
])
assert
-
7.558
==
round
(
x_values
[
2
,
0
])
assert
-
805.284
==
round
(
x_values
[
3
,
0
])
assert
-
85.447
==
round
(
x_values
[
4
,
0
])
assert
-
2112.066
==
round
(
x_values
[
5
,
0
])
assert
-
14.476
==
round
(
x_values
[
0
,
0
]
,
3
)
assert
395.143
==
round
(
x_values
[
1
,
0
]
,
3
)
assert
-
7.558
==
round
(
x_values
[
2
,
0
]
,
3
)
assert
-
805.284
==
round
(
x_values
[
3
,
0
]
,
3
)
assert
-
85.447
==
round
(
x_values
[
4
,
0
]
,
3
)
assert
-
2112.066
==
round
(
x_values
[
5
,
0
]
,
3
)
def
test_rank_if_condition
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment