Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Martin Heyden
LabProcesses.jl
Commits
47cb1799
Commit
47cb1799
authored
Aug 24, 2017
by
Fredrik Bagge Carlson
Browse files
Fix small test
parent
189c94f6
Changes
2
Show whitespace changes
Inline
Side-by-side
README.md
View file @
47cb1799
[

](https://gitlab.control.lth.se/processes/LabProcesses.jl/commits/master)
[

](https://gitlab.control.lth.se/processes/LabProcesses.jl/commits/master)
# LabProcesses
This package contains an (programming- as well as connection-) interface to serve
as a base for the implementation of lab-process software. The first example of
...
...
test/runtests.jl
View file @
47cb1799
...
...
@@ -2,7 +2,7 @@ using LabProcesses
using
Base
.
Test
# Reference generators
r
=
PRBSGenerator
(
Int
(
1
))
r
=
PRBSGenerator
(
Int
(
4
))
seq
=
[
r
()
for
i
=
1
:
10
]
@test
all
(
seq
.==
[
0
,
0
,
1
,
0
,
0
,
1
,
1
,
0
,
0
,
1
])
@test
all
(
seq
.==
[
1
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
])
foreach
(
r
,
1
:
10_000
)
Write
Preview
Supports
Markdown
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