gcl-devel
[Top][All Lists]

## [Gcl-devel] gcl-2.6.12: maxima-5.35.1 testsuite failures

 From: Andrey G. Grozin Subject: [Gcl-devel] gcl-2.6.12: maxima-5.35.1 testsuite failures Date: Tue, 23 Dec 2014 16:24:10 +0600 (NOVT) User-agent: Alpine 2.11 (LRH 23 2013-08-11)

```On both 32-bit and 64-bit Gentoo Linux boxes I get

Running tests in rexamples:
********************** Problem 95 ***************
Input:
(kill(all), example(powerseries))

Result:
(%i1) powerseries(log(sin(x)/x),x,0)
error-catch

This differed from the expected result:
done

136/137 tests passed

The following 1 problem failed: (95)

....

Running tests in rtest_powerseries:
********************** Problem 16 ***************
Input:
1
powerseries(-, x, minf)
x

Result:
error-catch

This differed from the expected result:
1
-
x

********************** Problem 17 ***************
Input:
z
y
powerseries(x  , x, 0)

Result:
error-catch

This differed from the expected result:
z
y
x

********************** Problem 19 ***************
Input:
y zero
powerseries((1 + x )    , x, 0)

Result:
error-catch

This differed from the expected result:
1

********************** Problem 20 ***************
Input:
y
powerseries((2 + zero x) , x, 0)

Result:
error-catch

This differed from the expected result:
y
2

********************** Problem 21 ***************
Input:
y
powerseries((zero + x) , x, 0)

Result:
error-catch

This differed from the expected result:
y
x

********************** Problem 22 ***************
Input:
n
niceindices(powerseries((1 + nz) , nz, 0))

Result:
error-catch

This differed from the expected result:
inf
====             i
\              nz
>    ----------------------
/     beta(1 + i, 1 - i + n)
====
i = 0
----------------------------
1 + n

********************** Problem 23 ***************
Input:
posint
niceindices(powerseries((1 + nz)      , nz, 0))

Result:
error-catch

This differed from the expected result:
posint
====                 i
\                  nz
>     ---------------------------
/      beta(1 + i, 1 - i + posint)
====
i = 0
----------------------------------
1 + posint

********************** Problem 24 ***************
Input:
k
niceindices(powerseries((1 + nz) , nz, 0))

Result:
error-catch

This differed from the expected result:
inf
====             i
\              nz
>    ----------------------
/     beta(1 + i, 1 - i + k)
====
i = 0
----------------------------
1 + k

********************** Problem 25 ***************
Input:
k
niceindices(powerseries((1 + x) , x, 0))

Result:
error-catch

This differed from the expected result:
inf
====             i
\               x
>    ----------------------
/     beta(1 + i, 1 - i + k)
====
i = 1
---------------------------- + 1
1 + k

********************** Problem 26 ***************
Input:
posint
niceindices(powerseries((u + x)      , x, 0))

Result:
error-catch

This differed from the expected result:
posint - 1
====              i  posint - i
\                x  u
>         ---------------------------
/          beta(1 + i, 1 - i + posint)
====
posint   i = 0
x       + --------------------------------------
1 + posint

********************** Problem 27 ***************
Input:
k
powerseries((y + x) , x, 0)

Result:
error-catch

This differed from the expected result:
k
powerseries((y + x) , x, 0)

********************** Problem 28 ***************
Input:
u
a x               u               1
niceindices(powerseries(-----, x, 0) - a x  powerseries(-----, x, 0))
x + 1                           x + 1

Result:
error-catch

This differed from the expected result:
0

********************** Problem 29 ***************
Input:
2
1 + x + x
powerseries(----------, x, 0)
c + b + a

Result:
error-catch

This differed from the expected result:
2
1 + x + x
----------
c + b + a

********************** Problem 30 ***************
Input:
y + 1
1 + x      + x
powerseries(--------------, x, 0)
y + 2

Result:
error-catch

This differed from the expected result:
y + 1
1 + x      + x
powerseries(--------------, x, 0)
y + 2

********************** Problem 31 ***************
Input:
k
(1 + x)
powerseries(---------------, x, 0)
(2 + x) (3 + x)

Result:
error-catch

This differed from the expected result:
k
(1 + x)
powerseries(---------------, x, 0)
(2 + x) (3 + x)

********************** Problem 32 ***************
Input:
2
1 + x + x
powerseries(----------, x, 0)
2
a x

Result:
error-catch

This differed from the expected result:
1      1    1
---- + --- + -
2   a x   a
a x

********************** Problem 33 ***************
Input:
n
(x + 1)
powerseries(--------, x, 0)
2
a x

Result:
error-catch

This differed from the expected result:
n
(x + 1)
--------
2
a x

********************** Problem 34 ***************
Input:
1
niceindices(powerseries(-------------------, x, 0))
(1 - 2 x) (1 - 3 x)

Result:
error-catch

This differed from the expected result:
inf
====
\       1 + i    1 + i   i
>    (3      - 2     ) x
/
====
i = 0

********************** Problem 35 ***************
Input:
k
(2 + x) (3 + x)
powerseries(----------------, x, 0)
x (4 + x)

Result:
error-catch

This differed from the expected result:
k
(2 + x) (3 + x)
powerseries(----------------, x, 0)
x (4 + x)

********************** Problem 36 ***************
Input:
(1 + x) (2 + x)
factor(niceindices(powerseries(---------------, x, 0)))
(3 + x) (4 + x)

Result:
error-catch

This differed from the expected result:
- 1 - i      i   1 + i    2 + i   i
3        (- 1)  (4      - 3     ) x
2 + sum(------------------------------------, i, 0, inf)
i
4
--------------------------------------------------------
2

********************** Problem 37 ***************
Input:
(2 + x) (3 + x)         2
niceindices(powerseries(---------------, x, 0) x
2        k
x  (1 + x)
(2 + x) (3 + x)
```
- powerseries(---------------, x, 0))
```                                                                  k
(1 + x)

Result:
error-catch

This differed from the expected result:
0

********************** Problem 38 ***************
Input:
1
niceindices(powerseries(-----------, x, 0))
sqrt(x + 1)

Result:
error-catch

This differed from the expected result:
inf
====           i
\             x
2  >    ------------------ + 1
/          1
====  beta(- - i, 1 + i)
i = 1      2

********************** Problem 39 ***************
Input:
niceindices(powerseries(sqrt(x + 1), x, 0))

Result:
error-catch

This differed from the expected result:
inf
====           i
\             x
2  >    ------------------
/          3
====  beta(- - i, 1 + i)
i = 1      2
-------------------------- + 1
3

********************** Problem 40 ***************
Input:
n
powerseries(x  + 1, x, 0)

Result:
error-catch

This differed from the expected result:
n
x  + 1

********************** Problem 41 ***************
Input:
1
(gensumnum : 0, declare(n, integer), powerseries(------, x, 0))
n
x  + 1

Result:
error-catch

This differed from the expected result:
inf
====
\           i1  i1 n
>     (- 1)   x
/
====
i1 = 0

********************** Problem 42 ***************
Input:
1/3
(gensumnum : 0, powerseries((1 - x)    + 1, x, 0))

Result:
error-catch

This differed from the expected result:
i1  i1
(- 1)   x
3 sum(--------------------, i1, 1, inf)
4
beta(- - i1, 1 + i1)
3
2 + ---------------------------------------
4

********************** Problem 44 ***************
Input:
1
powerseries(-------------------, x, 0)
(1 - 2 x) (1 - 3 x)

Result:
error-catch

This differed from the expected result:
inf
====
\        1 + i1      i1   i1
>     (3       - 2 2  ) x
/
====
i1 = 0

********************** Problem 45 ***************
Input:
1
powerseries(------------, x, 0)
2
- x  - x + 1

Result:
error-catch

This differed from the expected result:
inf
====                     - 1 - i2  i2                  - 1 - i2      i2
```
\ - 2 (sqrt(5) - 1) 2 2 (1 + sqrt(5)) (- 2) i2 - > (----------------------------- - -------------------------------) x
```  /                  sqrt(5)                          sqrt(5)
====
i2 = 0

********************** Problem 46 ***************
Input:
x + 1
factor(powerseries(--------, x, 0))
2
1 - 2 x

Result:
error-catch

This differed from the expected result:
inf
====
\       i3/2 - 3/2                                   i3   i3
>     2           (1 + sqrt(2) + (sqrt(2) - 1) (- 1)  ) x
/
====
i3 = 0

********************** Problem 47 ***************
Input:
x + 1
powerseries(--------, x, 0)
2
(1 - x)

Result:
error-catch

This differed from the expected result:
inf
====
\                   i4    i4
>     (2 (1 + i4) x   - x  )
/
====
i4 = 0

********************** Problem 48 ***************
Input:
3
x  + 1
powerseries(------------, x, 0)
2
- x  - x + 1

Result:
error-catch

This differed from the expected result:
inf
====                     - 1 - i5  i5
\       - 2 (sqrt(5) - 1)         2
1 - x - 2 x  >     (-----------------------------
/                  sqrt(5)
====
i5 = 0
- 1 - i5      i5
```
2 (1 + sqrt(5)) (- 2) i5 - -------------------------------) x
```                                                      sqrt(5)

********************** Problem 49 ***************
Input:
1
powerseries(-----------, x, 0)
(1 - 2 x) x

Result:
error-catch

This differed from the expected result:
inf
====
\       i6  i6
>     2   x
/
====
i6 = 0
--------------
x

********************** Problem 50 ***************
Input:
2
x  + x + 1
powerseries(------------------, x, 0)
2
(1 - 2 x) (x + 1)

Result:
error-catch

This differed from the expected result:
inf
====           i7  i7                 i7  i7      i7  i7
\       - (- 1)   x     (1 + i7) (- 1)   x     7 2   x
>     (------------- + -------------------- + ---------)
/             9                  3                 9
====
i7 = 0

********************** Problem 51 ***************
Input:
2
1 - x
powerseries(-------------, x, 0)
4      2
x  - 4 x  + 1

Result:
error-catch

This differed from the expected result:
inf                                1      i8
====       1 (- 1 - sqrt(3)) (-----------)
\                             2 + sqrt(3)
>     (- -----------------------------------
/         (2 + sqrt(3)) (2 (2 + sqrt(3)) - 4)
====
i8 = 0
1      i8
1 (sqrt(3) - 1) (-----------)
```
2 - sqrt(3) 2 i8
```                                  - -----------------------------------) x
(2 - sqrt(3)) (2 (2 - sqrt(3)) - 4)

********************** Problem 53 ***************
Input:
a
sumcontract(intosum(powerseries((1 - x)  + 1, x, 0)
a
```
- powerseries((1 - x) , x, 0)))
```

Result:
error-catch

This differed from the expected result:
1

********************** Problem 54 ***************
Input:
(gensumnum : 0, powerseries(log(2 - x), x, 0))

Result:
error-catch

This differed from the expected result:
- 1 - i2  1 + i2
2         x
log(2) - sum(-----------------, i2, 0, inf)
1 + i2

********************** Problem 55 ***************
Input:
block([inf_exp, minf_exp], gensumnum : 0,
1
inf_exp : powerseries(-----, x, inf), gensumnum : 0,
x + 1
1
minf_exp : powerseries(-----, x, inf), inf_exp - minf_exp)
x + 1

Result:
error-catch

This differed from the expected result:
0

********************** Problem 59 ***************
Input:
factor(powerseries(integrate(f(x), x) y, y, 1))

Result:
error-catch

This differed from the expected result:
/
[
(I f(x) dx) y
]
/

********************** Problem 60 ***************
Input:
sin(x)
niceindices(powerseries(log(------), x, 0))
x

Result:
error-catch

This differed from the expected result:
inf
====       i  2 i - 1            2 i
\     (- 1)  2        bern(2 i) x
>    ------------------------------
/                i (2 i)!
====
i = 1

28/67 tests passed

The following 39 problems failed: (16 17 19 20 21 22 23 24 25 26 27 28
29 30 31 32 33 34 35 36 37 38 39 40
41 42 44 45 46 47 48 49 50 51 53 54
55 59 60)

....

Error summary:
Error found in /usr/share/maxima/5.35.1/tests/rexamples.mac, problem:
(95)
```
Errors found in /usr/share/maxima/5.35.1/tests/rtest_powerseries.mac, problems:
```(16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
40 41 42 44 45 46 47 48 49 50 51 53 54 55 59 60)
40 tests failed out of 10,028 total tests.

```

reply via email to