Changeset 8d2416 in git for Tst/Short/factorizep_s.tst
- Timestamp:
- May 10, 2012, 4:43:36 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 6b6c822fcfbbabb80e5ab1e0487f5de527e8785a
- Parents:
- 6f0279ecd605db3872247f2211d8efd1ac65d42a
- git-author:
- Martin Lee <martinlee84@web.de>2012-05-10 16:43:36+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-05-10 18:23:39+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Tst/Short/factorizep_s.tst
r6f0279 r8d2416 342 342 } 343 343 344 ring r = 2,(x,y),dp; 345 poly f=x^6 + y^5 + x^5 + y^4; 346 poly g=x^6 + y^6 + x^5 + x^3 + x + 1; 347 poly h=x^6 + x*y^5 + y^5 + y^4 + x*y^2 + y^3 + 1; 348 list l1, l2, l3; 349 for (int i= 1; i < 33002; i= i+33) 350 { 351 system ("--random", i); 352 l1= factorize (f); 353 l2= factorize (g); 354 l3= factorize (h); 355 l1; 356 l2; 357 l3; 358 if (size (l1[1]) != 2) 359 { 360 l1; 361 break; 362 } 363 if (size (l2[1]) != 3) 364 { 365 l2; 366 break; 367 } 368 if (size (l3[1]) != 3) 369 { 370 l3; 371 break; 372 } 373 } 374 344 375 tst_status(1);$
Note: See TracChangeset
for help on using the changeset viewer.