Test StdPairs package ========================== To be certain on functioning of the implemented methods and attributes of the package, one can test all examples in the documens directly using the command below. .. code-block:: shell sage -t -l -p $SAGE_ROOT/local/lib/python3.9/site-packages/stdpairs/ where ``$SAGE_ROOT`` is the folder your sage was compiled or installed. Make sure that testing ``monomialideal.py`` file takes 2~3 minutes, unlike others. If one wants to test for more serious examples, we provide two test examples as below. 1. `Test overall `_ executes all methods and attributes of the package and compares their return with pre-defined true computational result. It took almost 15 minutes depending on your machine. 2. `Test indifference between Macaulay2 and StdPairs `_ executes ``MonomialIdeal.standard_cover()`` method over a (randomly selected) monomial ideal over a polynomial ring and compares its return with the same calculation from `Macaulay2 `_. To test your installed package, please download above testing files, and type .. code-block:: shell sage -t -l -p test_overall.sage on the folder having tests files downloaded. For example, the command above gives you a message as below. .. code-block:: shell too few successful tests, not using stored timings Running doctests with ID 2021-07-03-21-35-49-328bc55e. Git branch: develop Using --optional=4ti2,build,dochtml,e_antic,homebrew,libnauty,normaliz,pip,pynormaliz,sage,sage_spkg Doctesting 1 file using 4 threads. This is test suits for stdpairs. running AffineMonoid and its methods . . . pass running txt_to_affinemonoid() . . . pass sage -t --long --random-seed=0 GitHub/StdPairs/tests/test_overall.sage running txt_to_monomialideal() . . . pass running MonomialIdeal and its methods . . .pass running prime_ideal() . . . pass running ProperPair class and its methods . . . pass running div_pairs() . . . pass running macaulay2() . . . pass running from_macaulay2() . . . pass running to_macaulay2() . . . pass StdPair package test was done! Everything works well. [0 tests, 0.00 s] ---------------------------------------------------------------------- All tests passed! ---------------------------------------------------------------------- Total time for all tests: 855.3 seconds cpu time: 0.0 seconds cumulative wall time: 0.0 seconds