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
Fredrik Bagge Carlson
SystemIdentification
Commits
d019ff4d
Commit
d019ff4d
authored
Sep 04, 2015
by
Fredrik Bagge Carlson
Browse files
poked test
parent
02370aae
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/tests.jl
View file @
d019ff4d
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
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