Skip to content

Commit 14d4008

Browse files
committed
fix tests
1 parent 38a19ad commit 14d4008

16 files changed

+31
-35
lines changed

inst/@sym/contains.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
%% @group
2727
%% a = interval (sym (0), 10);
2828
%% contains (5, a)
29-
%% @result{} ans = 1
29+
%% @result{} ans = (sym) True
3030
%% @end group
3131
%% @end example
3232
%%

inst/@sym/imageset.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
%% syms y
4444
%% f = x^exp(y);
4545
%% imageset (f, [x y], domain ('Naturals0'))
46-
%% @result{} ans = (sym)
47-
%% ⎧ ⎛ y⎞
48-
%% ⎨ ⎝ℯ ⎠
49-
%% ⎩x | x, y ∊ ℕ₀⎭
46+
%% @result{} ans = (sym 1×2 matrix)
47+
%% ⎧ ⎛ y⎞ ⎫ ⎧ ⎛ y⎞ ⎫⎤
48+
%% ⎨ ⎝ℯ ⎠ ⎬ ⎨ ⎝ℯ ⎠ ⎬⎥
49+
%% ⎩x | x ∊ ℕ₀⎭ ⎩x | y ∊ ℕ₀⎭
5050
%% @end group
5151
%% @end example
5252
%%

inst/@sym/iscomplement.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%% a = domain ('Reals');
2828
%% b = domain ('Complexes');
2929
%% iscomplement (b - a)
30-
%% @result{} ans = 1
30+
%% @result{} ans = (sym) True
3131
%% @end group
3232
%% @end example
3333
%%
@@ -45,4 +45,4 @@
4545
%!test
4646
%! a = domain ('Reals');
4747
%! b = domain ('Integers');
48-
%! assert (iscomplement (a - b))
48+
%! assert (logical (iscomplement (a - b)))

inst/@sym/isdisjoint.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%% a = interval (sym (0), 10);
2828
%% b = interval (sym (11), 15);
2929
%% isdisjoint (a, b)
30-
%% @result{} ans = 1
30+
%% @result{} ans = (sym) True
3131
%% @end group
3232
%% @end example
3333
%%

inst/@sym/isemptyset.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
%% @example
2626
%% @group
2727
%% isemptyset (domain ('EmptySet'))
28-
%% @result{} ans = 1
28+
%% @result{} ans = (sym) True
2929
%% @end group
3030
%% @end example
3131
%%

inst/@sym/isintersection.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
%% a = interval (x, 1);
2929
%% b = interval (sym (-1), 3);
3030
%% isintersection (intersect (a, b))
31-
%% @result{} ans = 1
31+
%% @result{} ans = (sym) True
3232
%% @end group
3333
%% @end example
3434
%%

inst/@sym/isleftunbounded.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
%% @group
2727
%% a = interval (sym (-inf), 0);
2828
%% isleftunbounded (a)
29-
%% @result{} ans = 1
29+
%% @result{} ans = (sym) True
3030
%% @end group
3131
%% @end example
3232
%%
3333
%% @example
3434
%% @group
3535
%% a = interval (sym (0), inf);
3636
%% isleftunbounded (a)
37-
%% @result{} ans = 0
37+
%% @result{} ans = (sym) False
3838
%% @end group
3939
%% @end example
4040
%%

inst/@sym/ispropersubset.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%% a = interval (sym (0), sym (1)/2);
2828
%% b = interval(sym (0), 1);
2929
%% ispropersubset (a, b)
30-
%% @result{} ans = 1
30+
%% @result{} ans = (sym) True
3131
%% @end group
3232
%% @end example
3333
%%

inst/@sym/ispropersuperset.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%% a = interval (sym (0), 1);
2828
%% b = interval (sym (0), sym (1)/2);
2929
%% ispropersuperset (a, b)
30-
%% @result{} ans = 1
30+
%% @result{} ans = (sym) True
3131
%% @end group
3232
%% @end example
3333
%%

inst/@sym/isrightunbounded.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
%% @group
2727
%% a = interval (0, sym (inf));
2828
%% isrightunbounded (a)
29-
%% @result{} ans = 1
29+
%% @result{} ans = (sym) True
3030
%% @end group
3131
%% @end example
3232
%%
3333
%% @group
3434
%% a = interval (-inf, sym (0));
3535
%% isrightunbounded (a)
36-
%% @result{} ans = 1
36+
%% @result{} ans = (sym) True
3737
%% @end group
3838
%% @end example
3939
%%

0 commit comments

Comments
 (0)