M2 icon indicating copy to clipboard operation
M2 copied to clipboard

testExample

Open DanGrayson opened this issue 4 years ago • 2 comments

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

DanGrayson avatar Aug 31 '21 14:08 DanGrayson

Like this? https://faculty.math.illinois.edu/Macaulay2/doc/Macaulay2/share/doc/Macaulay2/SimpleDoc/html/_test__Example.html

mahrud avatar Aug 31 '21 20:08 mahrud

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.

DanGrayson avatar Sep 01 '21 19:09 DanGrayson