Public.js
Enter your script into the source window and hit 'convert' to generate unit tests.
Source:
Convert
Result: