Flowgorithm CLI supports kind of unit testing. The concept similar to ordinary testing framework. You have a file with your code and a second file with unit tests.
In your testing function you prepare the conditions for test, call the tested method and assert the results. The assertion is done via set of methods: