testExample
The variable testExample is a String containing an example of the use of TEST to write a test case.
TEST /// -* test for simpleDocFrob *- assert(simpleDocFrob(2,matrix{{1,2}}) == matrix{{1,2,0,0},{0,0,1,2}}) ///
The check method executes all package tests defined this way.
i1 : check SimpleDoc -- capturing check(0, "SimpleDoc") -- .276318s elapsed
The object testExample is a string.
The source of this document is in SimpleDoc.m2:308:0.