Changeset 53544c in git for Tst/Short/bug_tr659.tst


Ignore:
Timestamp:
Nov 4, 2014, 10:44:20 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
b113ecb6b313faa1872c1ac2bf29808ca6d3e9f0
Parents:
6b82bfd833bf735e67d7b2f7c37e05f85ac15b9f
Message:
fix: repeat the test

tests for fixed bugs should as simple as possibel: we do not test
ring construction, type change, proc calls, ASSUME here
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Tst/Short/bug_tr659.tst

    r6b82bf r53544c  
    2626
    2727// tr.656 (incomplete primary decomp with primdecSY)
    28 proc test656()
    29 {
    30     ring rng656 = (0),(xy,xg,xt,xb),dp;
    31     ideal I = -11658/12181*xg*xt*xb-8219/674*xg*xb^2,
    32     307/3906*xy^2+20884/14685*xg^3+21229/26747*xg,
    33     -3493/11608*xy+13440/12053*xg*xt-1161/3359*xb-1377/857;
    34     def L1 =  primdecSY(I,0);
    35     def pc1 =  primdecSY(L1[1][1],0);
    36     ASSUME(0, size(pc1)==1);
    37 }
    3828int i ;
    3929// repeat test, since the computation originaly failed occasionally, independent of random seed...
    40 for (i=1; i<12; i++)     {    test656();  }
     30ring rng656 = (0),(y,g,t,b),dp;
     31ideal I = -11658/12181*g*t*b-8219/674*g*b^2,
     32307/3906*y^2+20884/14685*g^3+21229/26747*g,
     33-3493/11608*y+13440/12053*g*t-1161/3359*b-1377/857;
     34list L1;
     35for (i=1; i<12; i++)
     36{ L1=primdecSY(I,0);size(primdecSY(L1[1][1])); }
    4137
    4238tst_status(1);$
Note: See TracChangeset for help on using the changeset viewer.