From d019ff4d6f74b279e355930c0fca80f3ade6ba05 Mon Sep 17 00:00:00 2001
From: Fredrik Bagge Carlsson <cont-frb@ulund.org>
Date: Fri, 4 Sep 2015 16:50:17 +0200
Subject: [PATCH] poked test

---
 test/tests.jl | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/test/tests.jl b/test/tests.jl
index 4ded4db..c7b64cb 100644
--- a/test/tests.jl
+++ b/test/tests.jl
@@ -1,8 +1,15 @@
+module SystemIdentificationTests
+export run_tests()
 using SystemIdentification
-@assert isa(1,Polynom)
-@assert isa(1.0,Polynom)
-@assert isa([1.0; 1.0],Polynom)
-@assert isa(1.0,PolynomMatrix)
-@assert isa(1,PolynomMatrix)
 
-ar(collect(1:5.0),1,bias=true)
+function run_tests()
+    @assert isa(1,Polynom)
+    @assert isa(1.0,Polynom)
+    @assert isa([1.0; 1.0],Polynom)
+    @assert isa(1.0,PolynomMatrix)
+    @assert isa(1,PolynomMatrix)
+
+    #ar(collect(1:5.0),1,bias=true)
+end
+
+end
-- 
GitLab