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

◆ TEST() [1/4]

TEST ( MatrixIO ,
readMsolve  )

Definition at line 100 of file MatrixIOTest.cpp.

101{
102 std::string filename { EXAMPLE_DIR"eg2-gb.ms" };
103 std::string contents = R"(#Reduced Groebner basis data
104#---
105#field characteristic: 1235952427
106#variable order: x, y, z
107#monomial order: graded reverse lexicographical
108#length of basis: 4 elements sorted by increasing leading monomials
109#---
110[1*x^1+2*y^1+2*z^1+1235952426,
1111*y^1*z^1+494380972*z^2+370785728*y^1+247190485*z^1,
1121*y^2+988761941*z^2+741571456*y^1+494380971*z^1,
1131*z^3+924021576*z^2+700373042*y^1+653289140*z^1]:
114)";
#define EXAMPLE_DIR

References bytesUsed(), EXAMPLE_DIR, Ring::make_FreeModule(), Matrix, parseMsolveFromString(), result(), simplePolynomialRing(), and toMatrix().