M2
M2 copied to clipboard
testExample
Should move this to the documentation:
i5 : testExample
o5 = TEST /// -* test for simpleDocFrob *-
assert(simpleDocFrob(2,matrix{{1,2}}) == matrix{{1,2,0,0},{0,0,1,2}})
///
i6 : package symbol testExample
o6 = SimpleDoc
o6 : Package
Like this? https://faculty.math.illinois.edu/Macaulay2/doc/Macaulay2/share/doc/Macaulay2/SimpleDoc/html/_test__Example.html
No, I think the explanation of TEST and how to use it can be in just the documentation, and we don't need the variable testExample.