Commit 47cb1799 authored by Fredrik Bagge Carlson's avatar Fredrik Bagge Carlson
Browse files

Fix small test

parent 189c94f6
Pipeline #512 passed with stage
in 1 minute and 23 seconds
[![pipeline status](https://gitlab.control.lth.se/processes/LabProcesses.jl/badges/master/pipeline.svg)](https://gitlab.control.lth.se/processes/LabProcesses.jl/commits/master)
[![coverage report](https://gitlab.control.lth.se/processes/LabProcesses.jl/badges/master/coverage.svg)](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
......
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment