Changeset 48a994 in git for libpolys/tests/polys_test.h


Ignore:
Timestamp:
May 24, 2011, 5:26:59 PM (13 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
Children:
141342d81455232f75bdb4b9179a8cd396939ba4
Parents:
fd01a83f2928a88d4e9d30135f2d31d120fe30b3
git-author:
Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-05-24 17:26:59+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:52+01:00
Message:
factory-related includes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/tests/polys_test.h

    rfd01a8 r48a994  
    2020
    2121#include <polys/simpleideals.h>
     22
     23#ifdef HAVE_FACTORY
    2224#include <polys/clapsing.h>
     25#include <factory/factory.h>
     26#endif
    2327
    2428class MyGlobalPrintingFixture : public GlobalPrintingFixture
     
    846850    Test(s);
    847851   
     852#ifdef HAVE_FACTORY
    848853    poly f = p_ISet(3, s);
    849854    p_SetExp(f, 1, 3, s);
     
    860865    plusTerm(g, 8, 1, 4, s); // 7*u^5*v^6*w^2 + 8*u^4
    861866    p_Write(g, s);
    862     poly h = singclap_gcd(f, g, s);   // u^3*v*w^2, destroys f and g
     867    poly h = singclap_gcd(f, g, s);   // at least u^3, destroys f and g
    863868    p_Write(h, s);
    864869    p_Test(h, s);
    865870    p_Delete(&h, s);
    866    
     871#endif
    867872    rDelete(s); // kills 'cf' and 'r' as well
    868873  }
Note: See TracChangeset for help on using the changeset viewer.