Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
bliss
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
519
Issues
519
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
122
Merge Requests
122
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bliss
bliss
Commits
e6276f0b
Commit
e6276f0b
authored
Jan 26, 2018
by
Jose Tiago Macara Coutinho
Committed by
Vincent Michel
Mar 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pepu: fix array assertion test
parent
1c8ee64a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/controllers_hw/pepu.py
tests/controllers_hw/pepu.py
+1
-1
No files found.
tests/controllers_hw/pepu.py
View file @
e6276f0b
...
@@ -87,4 +87,4 @@ def test_streams_acquisition(pepu, acquisitions, blocks, block_size):
...
@@ -87,4 +87,4 @@ def test_streams_acquisition(pepu, acquisitions, blocks, block_size):
assert
stream
.
nb_points_ready
==
block_size
assert
stream
.
nb_points_ready
==
block_size
data
=
stream
.
read
(
n
=
block_size
)
data
=
stream
.
read
(
n
=
block_size
)
expected
=
[[
1.5
,
-
1.5
]]
*
block_size
expected
=
[[
1.5
,
-
1.5
]]
*
block_size
assert
pytest
.
approx
(
data
,
expected
)
assert
data
.
tolist
()
==
expected
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