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
Sébastien Villemot
dseries
Commits
6e43ba36
Commit
6e43ba36
authored
Nov 26, 2015
by
Stéphane Adjemian
Committed by
Stéphane Adjemian
Feb 18, 2016
Browse files
Fixed unit tests for subsasgn overloaded method.
parent
b1cf127d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/@dseries/subsasgn.m
View file @
6e43ba36
...
...
@@ -809,6 +809,30 @@ end
%
@eof
:
20
%
@test
:
21
%
$
%
Define
a
datasets
.
%
$
A
=
rand
(
4
,
3
);
%
$
%
$
%
Instantiate
an
empty
dseries
object
.
%
$
ts
=
dseries
(
dates
(
'
1950
Q1
'
));
%
$
%
$
%
Populate
ts
%
$
try
%
$
ts
(
:
)
=
A
;
%
$
t
(
1
)
=
1
;
%
$
catch
%
$
t
(
1
)
=
0
;
%
$
end
%
$
%
$
%
Instantiate
a
time
series
object
.
%
$
if
t
(
1
)
%
$
t
(
2
)
=
dassert
(
ts
.
vobs
,
3
);
%
$
t
(
3
)
=
dassert
(
ts
.
nobs
,
4
);
%
$
t
(
4
)
=
dassert
(
ts
.
data
,
A
,
1e-15
);
%
$
end
%
$
T
=
all
(
t
);
%
@eof
:
21
%
@test
:
22
%
$
%
Instantiate
a
dseries
object
.
%
$
ts0
=
dseries
(
randn
(
10
,
6
),
'
1999
y
'
);
%
$
...
...
@@ -830,4 +854,4 @@ end
%
$
end
%
$
end
%
$
T
=
all
(
t
);
%
@eof
:
21
\ No newline at end of file
%
@eof
:
22
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