From 47cb17997102d6e02cd709b927a417eda97122bc Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson <cont-frb@ulund.org> Date: Thu, 24 Aug 2017 09:40:14 +0200 Subject: [PATCH] Fix small test --- README.md | 3 +++ test/runtests.jl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f371596..408e542 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[](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 diff --git a/test/runtests.jl b/test/runtests.jl index 51d3ce3..d6bb9b9 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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) -- GitLab