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

◆ TEST() [2/4]

TEST ( PolyRing ,
createDegreesRing  )

Definition at line 53 of file PolyRingTest.cpp.

54{
55 const Ring* DR = degreeRing(1);
56 EXPECT_FALSE(error());
57 EXPECT_TRUE(DR != nullptr);
58
59 buffer o;
60 DR->text_out(o);
61 std::cout << "ring is " << o.str() << std::endl;
62}
virtual void text_out(buffer &o) const =0
xxx xxx xxx
Definition ring.hpp:102
char * str()
Definition buffer.hpp:72
int error()
Definition error.c:48
const PolynomialRing * degreeRing(const std::vector< std::string > &names)

References degreeRing(), error(), buffer::str(), and Ring::text_out().