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

◆ TEST() [23/24]

TEST ( ARingZZpFlint ,
create  )

Definition at line 322 of file ARingZZpTest.cpp.

323{
324 M2::ARingZZpFlint R(101);
325
326 EXPECT_EQ(ringName(R), "AZZFlint/101");
327 testSomeMore(R);
328
330 R.init(a);
331 R.set_from_long(a, 99);
332 R.set_from_long(a, 101);
333 R.set_from_long(a, 103);
334 R.clear(a);
335}
void testSomeMore(const T &R)
Definition ARingTest.hpp:72
std::string ringName(const T &R)
aring-style adapter for Z/p with p a word-size prime, backed by FLINT's nmod_* routines.

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