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

◆ TEST() [3/4]

TEST ( PolyRing ,
createDegreesRing2  )

Definition at line 64 of file PolyRingTest.cpp.

65{
66 const Ring* DR = degreeRing({"t1", "t2"});
67 EXPECT_FALSE(error());
68 EXPECT_TRUE(DR != nullptr);
69
70 buffer o;
71 DR->text_out(o);
72 std::cout << "ring is " << o.str() << std::endl;
73}
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().