Template:UnitTest

From Terraria Wiki
Jump to: navigation, search

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

Usage[edit source]

{{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.