Changeset 6c5f32 in git for libpolys/tests


Ignore:
Timestamp:
May 10, 2011, 7:49:38 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0276c1a1f7c3742dd420b2f24bb6743dfd05ef4f
Parents:
57788869812f074ed82c9c9d35c5a04f6adf48f7
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-05-10 19:49:38+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:02+01:00
Message:
FIX: n_DivBy exists for rings only...
FIX: p_Div_nn should always exist!
Location:
libpolys/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/tests/coeffs_test.h

    r577888 r6c5f32  
    2727
    2828
    29 namespace
    30 {
    31 
    3229void TestSum(const coeffs r, const unsigned long N)
    3330{
     
    5653  if( !n_IsZero( i, r) )
    5754  {
     55#ifdef HAVE_RINGS
    5856    TS_ASSERT( n_DivBy(s, i, r) );
     57#endif
     58     
    5959    res = n_Div(s, i, r);
    6060 
     
    334334
    335335
    336 }
    337336
    338337// We can rely on this file being included exactly once
  • libpolys/tests/polys_test.h

    r577888 r6c5f32  
    129129      clog<< "number(poly(N)*poly(N+1)): "; PrintSized(ii, r->cf); 
    130130
     131#ifdef HAVE_RINGS
    131132      TS_ASSERT( n_DivBy(ii, t, r->cf) );
    132       res = p_Div_nn(i, t, r); i = NULL;
     133#endif
     134       res = p_Div_nn(i, t, r); i = NULL;
    133135    }
    134136   
Note: See TracChangeset for help on using the changeset viewer.