Macaulay2 Engine
Loading...
Searching...
No Matches

◆ testOrder()

void testOrder ( )

Definition at line 25 of file franzi-brp-test.cpp.

26{
27 BRP lex = BRP(9) + BRP(7);
28 lex = BRP(7) + BRP(9);
29 monomials control;
30 control.push_back(9);
31 control.push_back(7);
32 BRP c = BRP(control);
33 if (lex != c)
34 {
35 cout << "Testing something that should have a different order failed"
36 << endl;
37 }
38}
Boolean (F_2-coefficient) polynomial stored as an ordered list of square-free monomials.
std::list< brMonomial > monomials

Referenced by main().