Changeset c7d05f in git
- Timestamp:
- Dec 17, 2012, 2:03:23 PM (10 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- d51f0bf91c7bbb2089d5060d8822cc20ff8d2429
- Parents:
- a453bfa3c5e9178b6ada6c3e4b3500f7b3e65b6f
- Location:
- libpolys
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/test.cc
ra453bf rc7d05f 339 339 type = n_Zn; 340 340 341 if( Test(type, (void*) 3) ) 342 c ++; 343 341 ZnmInfo * Znmparam= new ZnmInfo; 342 Znmparam->base= (mpz_ptr) omAlloc (sizeof (mpz_t)); 343 mpz_init_set_ui (Znmparam->base, 3); 344 Znmparam->exp= 1; 345 346 if( Test(type, (void*) Znmparam) ) 347 c ++; 348 delete Znmparam; 344 349 #endif 345 350 … … 358 363 #endif 359 364 360 361 #ifdef HAVE_RINGS362 type = n_Zn;363 364 if( Test(type, (void*) 3) )365 c ++;366 #endif367 368 365 // polynomial rings needed for: n_algExt, n_transExt ! 369 366 -
libpolys/tests/coeffs_test.h
ra453bf rc7d05f 448 448 n_coeffType type = n_Zn; 449 449 450 TS_ASSERT( Test(type, (void*) 3) ); 450 ZnmInfo * Znmparam= new ZnmInfo; 451 Znmparam->base= (mpz_ptr) omAlloc (sizeof (mpz_t)); 452 mpz_init_set_ui (Znmparam->base, 3); 453 Znmparam->exp= 1; 454 455 TS_ASSERT( Test(type, (void*) Znmparam) ); 456 delete Znmparam; 451 457 #endif 452 458 }
Note: See TracChangeset
for help on using the changeset viewer.