Swish and unit tests?

Is there a way to add unit tests to a Swish example?
I tried using plunit, but got complaints.
(In case you’re interested, this was the original source that I tried to copy&paste into SWISH -- SWI-Prolog for SHaring): calculate path into a binary tree for some element · GitHub

1 Like