Skip to content

Commit 5c865a9

Browse files
committed
make unit test work for 19b and earlier
1 parent 956a636 commit 5c865a9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

unit_test/PlotTest.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ function tranimate_test(tc)
1616

1717
clf
1818
tranimate(X1, X2, 'axis', [-10 10 -20 20 -30 30]);
19-
v = axis;
20-
%tc.verifyEqual(v, [-10 10 -20 20 -30 30]);
21-
tc.verifyEqual(v, [-10 10 -20 20]); % 19b doesnt give
19+
ax = gca; v = [ax.XLim ax.YLim ax.ZLim];
20+
tc.verifyEqual(v, [-10 10 -20 20 -30 30]); % 19b doesnt give
2221

2322
tranimate(X1, X2, 'noxyz');
2423
tranimate(X1, X2, 'rgb');

0 commit comments

Comments
 (0)