Advertisement

UnitTest

A simple helper template for unit test cells in template documentation.

Usage

{{unitTest|[expected result]|[actual result]}}

If the expected result and the actual result are equal, the output will be the result. If they are not equal, FAIL! will be displayed.

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.
Miss the old Hydra Skin? Try out our Hydralize gadget! Visit the preferences page while logged in and turn on the gadget.

READ MORE