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

◆ testFiniteField()

template<typename T>
void testFiniteField ( const T & R,
int ntrials )

Definition at line 449 of file ARingTest.hpp.

450{
451 testCoercions(R);
453 testAdd(R, ntrials); // fails in char 2, ffpack (negating 1 gives -1)...
454 testSubtract(R, ntrials); // fails in char 2, ffpack
456 testDivide(R, ntrials); // fails in char 2, ffpack
458 testPower(R, ntrials); // fails?
460
461 // TODO: test promote, lift, syzygy(?), (ringmaps)
462 // test random number generation?
463 // get generator
464}
void testAdd(const T &R, int ntrials)
void testNegate(const T &R, int ntrials)
void testReciprocal(const T &R, int ntrials)
void testPower(const T &R, int ntrials)
void testCoercions(const T &R)
void testAxioms(const T &R, int ntrials)
const int ntrials
Definition ARingTest.hpp:42
void testSubtract(const T &R, int ntrials)
void testMultiply(const T &R, int ntrials)
void testDivide()

References ntrials, T, testAdd(), testAxioms(), testCoercions(), testDivide(), testMultiply(), testNegate(), testPower(), testReciprocal(), and testSubtract().

Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().