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
01dca1e8
Commit
01dca1e8
authored
Jun 23, 2015
by
Stéphane Adjemian
Browse files
Removed one unit test.
parent
e5760a9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/@dseries/subsref.m
View file @
01dca1e8
...
...
@@ -597,29 +597,29 @@ end
%
$
T
=
all
(
t
);
%
@eof
:
12
%
@test
:
13
%
$
try
%
$
data
=
transpose
(
0
:
1
:
50
);
%
$
ts
=
dseries
(
data
,
'
1950
Q1
'
);
%
$
a
=
ts
.
lag
;
%
$
b
=
ts
.
lead
;
%
$
tt
=
dynTimeIndex
();
%
$
c
=
ts
(
tt
-
1
);
%
$
d
=
ts
(
tt
+
1
);
%
$
t
(
1
)
=
1
;
%
$
catch
%
$
t
(
1
)
=
0
;
%
$
end
%
$
%
$
if
t
(
1
)
>
1
%
$
t
(
2
)
=
(
a
==
c
);
%
$
t
(
3
)
=
(
b
==
d
);
%
$
end
%
$
%
$
T
=
all
(
t
);
%
@eof
:
13
%
%
@test
:
13
%
%
$
try
%
%
$
data
=
transpose
(
0
:
1
:
50
);
%
%
$
ts
=
dseries
(
data
,
'
1950
Q1
'
);
%
%
$
a
=
ts
.
lag
;
%
%
$
b
=
ts
.
lead
;
%
%
$
tt
=
dynTimeIndex
();
%
%
$
c
=
ts
(
tt
-
1
);
%
%
$
d
=
ts
(
tt
+
1
);
%
%
$
t
(
1
)
=
1
;
%
%
$
catch
%
%
$
t
(
1
)
=
0
;
%
%
$
end
%
%
$
%
%
$
if
t
(
1
)
>
1
%
%
$
t
(
2
)
=
(
a
==
c
);
%
%
$
t
(
3
)
=
(
b
==
d
);
%
%
$
end
%
%
$
%
%
$
T
=
all
(
t
);
%
%
@eof
:
13
%
@test
:
14
%
@test
:
13
%
14
%
$
try
%
$
data
=
transpose
(
0
:
1
:
50
);
%
$
ts
=
dseries
(
data
,
'
1950
Q1
'
);
...
...
@@ -638,9 +638,9 @@ end
%
$
end
%
$
%
$
T
=
all
(
t
);
%
@eof
:
1
4
%
@eof
:
1
3
%
@test
:
15
%
@test
:
14
%
15
%
$
try
%
$
ds
=
dseries
(
transpose
(
1
:
5
));
%
$
ts
=
ds
(
ds
.
dates
(
2
:
3
));
...
...
@@ -655,9 +655,9 @@ end
%
$
end
%
$
%
$
T
=
all
(
t
);
%
@eof
:
1
5
%
@eof
:
1
4
%
@test
:
16
%
@test
:
15
%
16
%
$
try
%
$
ds
=
dseries
(
transpose
(
1
:
5
));
%
$
ts
=
ds
(
ds
.
dates
(
2
:
6
));
...
...
@@ -667,9 +667,9 @@ end
%
$
end
%
$
%
$
T
=
all
(
t
);
%
@eof
:
1
6
%
@eof
:
1
5
%
@test
:
17
%
@test
:
16
%
17
%
$
try
%
$
ds
=
dseries
(
transpose
(
1
:
5
));
%
$
ts
=
ds
(
dates
(
'
1
Y
'
)
:
dates
(
'
6
Y
'
));
...
...
@@ -679,9 +679,9 @@ end
%
$
end
%
$
%
$
T
=
all
(
t
);
%
@eof
:
1
7
%
@eof
:
1
6
%
@test
:
18
%
@test
:
17
%
18
%
$
try
%
$
ds
=
dseries
(
transpose
(
1
:
5
));
%
$
ts
=
ds
(
dates
(
'
-
2
Y
'
)
:
dates
(
'
4
Y
'
));
...
...
@@ -691,4 +691,4 @@ end
%
$
end
%
$
%
$
T
=
all
(
t
);
%
@eof
:
18
\ No newline at end of file
%
@eof
:
17
\ No newline at end of file
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