File: xtest-in-infsup-methods.patch

package info (click to toggle)
octave-interval 3.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,580 kB
  • sloc: ansic: 31,664; sh: 3,708; cpp: 2,958; objc: 1,662; makefile: 243; xml: 58; sed: 8
file content (50 lines) | stat: -rw-r--r-- 1,524 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Description: Transform some BISTs into xtest
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2022-01-31

--- octave-interval-3.2.0.orig/inst/@infsup/display.m
+++ octave-interval-3.2.0/inst/@infsup/display.m
@@ -172,19 +172,19 @@ endfunction
 %!# Test for the display function are also largely done with the help of the
 %!# doctest package.
 
-%!test
+%!xtest
 %! assert (evalc ("display (infsup ())"), "[Empty]\n\n");
 %! assert (evalc ("display (infsupdec ())"), "[Empty]_trv\n\n");
 
 %!test
 %! assert (evalc ("a = infsup ()"), "a = [Empty]\n");
 %! assert (evalc ("b = infsupdec ()"), "b = [Empty]_trv\n");
 
-%!test
+%!xtest
 %! assert (evalc ("a = infsup (); display (a)"), "a = [Empty]\n");
 %! assert (evalc ("b = infsupdec (); display (b)"), "b = [Empty]_trv\n");
 
-%!test
+%!xtest
 %! if (ispc ())
 %!   assert (evalc ("display (infsup (magic (3)))"), ...
 %!    ["3x3 interval matrix\n", ...
--- octave-interval-3.2.0.orig/inst/@infsup/fprintf.m
+++ octave-interval-3.2.0/inst/@infsup/fprintf.m
@@ -66,6 +66,6 @@ function chars_printed = fprintf (fid, t
 
 endfunction
 
-%!test
+%!xtest
 %! assert (evalc ("n = fprintf ('%g', infsup ('pi'));"), "3.14159 3.1416");
 %! assert (n, 14);
--- octave-interval-3.2.0.orig/inst/@infsup/printf.m
+++ octave-interval-3.2.0/inst/@infsup/printf.m
@@ -64,6 +64,6 @@ function chars_printed = printf (templat
 
 endfunction
 
-%!test
+%!xtest
 %! assert (evalc ("n = printf ('%g', infsup ('pi'));"), "3.14159 3.1416");
 %! assert (n, 14);