SWI-Prolog Did You Know Did you know? SWI-Prolog has a unit test framework Search Documentation:
Predicate list_rationals/1