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

◆ TEST() [14/24]

TEST ( ARingZZpFFPACK ,
create  )

Definition at line 192 of file ARingZZpTest.cpp.

193{
194 M2::ARingZZpFFPACK R(101);
195
196 EXPECT_EQ(ringName(R), "ZZpFPACK(101,1)");
197 testSomeMore(R);
198
199 std::cout << "max modulus for ffpack zzp: "
200 << M2::ARingZZpFFPACK::getMaxModulus() << std::endl;
201
203 R.init(a);
204 R.set_from_long(a, 99);
205 R.set_from_long(a, 101);
206 R.set_from_long(a, 103);
207 R.clear(a);
208}
void testSomeMore(const T &R)
Definition ARingTest.hpp:72
std::string ringName(const T &R)
static double getMaxModulus()
FieldType::Element ElementType
wrapper for the FFPACK::ModularBalanced<double> field implementation

References M2::ARingZZpFFPACK::clear(), M2::ARingZZpFFPACK::getMaxModulus(), M2::ARingZZpFFPACK::init(), ringName(), M2::ARingZZpFFPACK::set_from_long(), and testSomeMore().